Gentoo Archives: gentoo-user

From: Francisco Ares <frares@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Java VM and SDK: icedtea X oracle's
Date: Wed, 22 Apr 2015 17:00:36
Message-Id: CAHH9eM6z5tYpofkWwt2gTjHtxrJewGfGmJOavkySHUbdwSw=sg@mail.gmail.com
In Reply to: Re: [gentoo-user] Java VM and SDK: icedtea X oracle's by Alon Bar-Lev
1 2015-04-22 10:37 GMT-03:00 Alon Bar-Lev <alonbl@g.o>:
2
3 > Set the following for now:
4 >
5 > /etc/portage/package.mask/java.conf
6 > ---
7 > dev-java/oracle-jdk-bin
8 > >=virtual/jdk-1.8.0
9 > >=virtual/jre-1.8.0
10 > ---
11 >
12 > I am unsure why none free alternatives were added before the free
13 > alternatives.
14 >
15 > Regards,
16 > Alon
17 >
18 > On 22 April 2015 at 16:34, Francisco Ares <frares@×××××.com> wrote:
19 >
20 >> Hi.
21 >>
22 >> A few months ago I got rid of oracle's java jre and jdk in favor of
23 >> icedtea.
24 >>
25 >> Now, when issuing an "emerge -tpvuDN world", oracle's jre is about to be
26 >> installed again on this system:
27 >>
28 >> "
29 >> ...
30 >> [nomerge ] dev-java/jdom-1.0-r4:1.0 USE="-doc -examples -source"
31 >> [nomerge ] dev-java/jdom-jaxen-1.0-r1:1.0
32 >> [nomerge ] dev-java/jaxen-1.1.1:1.1 USE="-doc -examples -source
33 >> {-test}"
34 >> [nomerge ] dev-java/dom4j-1.6.1-r4:1 USE="-doc -source {-test}"
35 >> [nomerge ] dev-java/xpp2-2.1.10-r1 USE="-doc -source"
36 >> [nomerge ] dev-java/xerces-2.11.0:2 USE="-doc -examples
37 >> -source"
38 >> [nomerge ] dev-java/xml-commons-resolver-1.2 USE="-doc
39 >> -source"
40 >> [ebuild NS ] virtual/jre-1.7.0:1.7 [1.6.0-r1:1.6] 0 KiB
41 >> [ebuild NS ] virtual/jdk-1.7.0:1.7 [1.6.0-r2:1.6] 0 KiB
42 >> [ebuild N F ] dev-java/oracle-jdk-bin-1.7.0.80:1.7 USE="X
43 >> alsa fontconfig nsplugin (-aqua) -derby -doc -examples -jce -pax_kernel
44 >> (-selinux) -source" 149.933 KiB
45 >> ...
46 >> "
47 >>
48 >> Looking for packages that need jdom as a dependency, and after a chain of
49 >> "equery d" commands, icedtea-bin itself, on its own dependency chain, needs
50 >> jdom, which, in turn, needs oracle-jdk-bin.
51 >>
52 >> Is there a way around this?
53 >>
54 >> Thanks!
55 >> Francisco
56 >>
57 >
58 >
59 Thanks, gonna try this right away, just to update the system for now.
60
61 Best regards
62 Francisco