View previous topic :: View next topic |
Author |
Message |
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Fri Jan 23, 2015 8:39 pm Post subject: Java woes |
|
|
Hello!
Today portage threw this at me:
Code: |
[ebuild FU ] dev-java/oracle-jre-bin-1.8.0.31:1.8 [1.8.0.25:1.8] USE="X alsa nsplugin -fontconfig -jce -pax_kernel (-selinux)" 61.309 KiB
[ebuild FU ] dev-java/oracle-jdk-bin-1.7.0.76:1.7 [1.7.0.72:1.7] USE="X alsa fontconfig nsplugin (-aqua) -derby -doc -examples -jce -pax_kernel (-selinux) -source" 138.916 KiB
[ebuild N ] virtual/jdk-1.7.0:1.7 0 KiB
|
Question, why does it again try to add the jdk? I don't want it, actually, the jre would be just fine. It worked for some time only with the jre, but now emerge wants to pull in the jdk again.
How can I keep it gone?
Anyways, what does everybody prefer, the oracle jre or the icedtea one? _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Sat Jan 24, 2015 12:46 am Post subject: |
|
|
You can use emerge's '-t' option to get the packages that are about to be installed in a tree structure view that lets you see what's drawing in the jdk. As for icedtea versus the binary version, I personally find oracle-jdk-bin easier to handle (less dependencies, less weird bugs, no build failures). |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Sat Jan 24, 2015 3:44 pm Post subject: |
|
|
Thanks for the reply. Well, somehow java seems totally f*cked up here:
I uninstalled /virtual/jre and virtual/jre now completely.
Now after an emerge, portage seems to go back to its default option and installs
Code: |
[ebuild R ] dev-java/icedtea-bin-7.2.5.3:7 USE="X alsa cups nsplugin -cjk -doc -examples (-selinux) -source -webstart" 0 KiB
[ebuild R ] dev-java/icedtea-web-1.5.1-r1 USE="icedtea7 nsplugin -doc -javascript -tagsoup {-test}" 0 KiB |
If I try to install oracle-jre again, it will still pull in icedtea-bin as well...
Actually I'd also prefer the oracle-bin-jre, but I like to keep my system's footprint as small as possible and will not allow it to install both jre AND jde and/or several versions... _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Sun Jan 25, 2015 1:39 pm Post subject: |
|
|
You might also want to look at what else besides virtual/jdk (if anything) is drawing in icedtea-bin and icedtea-web. You'll need to install gentoolkit for that:
Code: | equery depends virtual/jdk
equery depends dev-lang/icedtea-bin
equery depends dev-lang/icedtea-web |
Can you post the full output of
Code: | emerge -ptv oracle-jdk-bin |
? |
|
Back to top |
|
|
WWWW Tux's lil' helper
Joined: 30 Nov 2014 Posts: 143
|
Posted: Tue Jan 27, 2015 2:17 pm Post subject: |
|
|
this is weird, I did not have this issue with oracles' jre. |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Thu Jan 29, 2015 9:11 pm Post subject: |
|
|
Hey guys, to rewarm this....
The output of equery d virtual/jdk:
Code: |
These packages depend on virtual/jdk:
dev-java/ant-core-1.9.2 (>=virtual/jdk-1.5)
dev-libs/protobuf-2.5.0-r2 (java ? >=virtual/jdk-1.5)
dev-vcs/subversion-1.8.11 (java ? >=virtual/jdk-1.5)
media-libs/libbluray-0.6.2 (java ? >=virtual/jdk-1.6)
media-libs/libjpeg-turbo-1.3.1-r1 (java ? >=virtual/jdk-1.5)
net-dns/libidn-1.29 (java ? >=virtual/jdk-1.5)
sys-devel/gettext-0.19.4 (java ? >=virtual/jdk-1.4)
sys-libs/db-6.0.30-r1 (java ? >=virtual/jdk-1.5)
virtual/jre-1.7.0 (=virtual/jdk-1.7.0*
|
For icedtea-bin and icedtea-web there are no dependencies.
The full output of emerge -ptv oracle-jdk-bin
Code: |
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild N F ] dev-java/oracle-jdk-bin-1.8.0.31:1.8 USE="X alsa fontconfig nsplugin (-aqua) -derby -doc -examples -jce -pax_kernel (-selinux) -source" 157.131 KiB
Total: 1 package (1 new), Size of downloads: 157.131 KiB
Fetch Restriction: 1 package (1 unsatisfied)
Fetch instructions for dev-java/oracle-jdk-bin-1.8.0.31:
*
* Oracle requires you to download the needed files manually after
* accepting their license through a javascript capable web browser.
*
* Download the following files:
* jdk-8u31-linux-x64.tar.gz
* at 'http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html'
* and move them to '/usr/portage/distfiles'
*
* If the above mentioned urls do not point to the correct version anymore,
* please download the files from Oracle's java download archive:
*
* http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-8u31-oth-JPR
|
This is of course with icedtea stuff and virtual/jre and virtual/jdk installed. _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
|