Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge going weird
Date: Mon, 02 Jan 2006 01:42:59
Message-Id: 9acccfe50601011737n64b99d8dh7d0098a7de6bad3b@mail.gmail.com
In Reply to: Re: [gentoo-user] emerge going weird by Abhay Kedia
1 Summary: I'm running java 1.5, I also have 1.4 emerged.
2
3 On 12/31/05, Abhay Kedia <abhay.ilugd@×××××.com> wrote:
4 >
5 > On Saturday 31 December 2005 22:47, Kevin O'Gorman wrote:
6 > >
7 > > The question now seems to be: why doesn't db use Java 1.5?
8 > >
9 > Yup and it is weird. I have jdk 1.5 installed and when I tried to use
10 > +java
11 > for db it didn't ask me to install older version.
12 >
13 > # USE=java emerge -pv sun-jdk db
14 >
15 > These are the packages that I would merge, in order:
16 >
17 > Calculating dependencies ...done!
18 > [ebuild Rf ] dev-java/sun-jdk-1.5.0.06 +X +alsa -browserplugin -doc
19 > -examples -jce +mozilla +nsplugin 0 kB
20 > [ebuild R ] sys-libs/db-4.2.52_p2-r1 -bootstrap -doc +java* -nocxx
21 > -tcltk
22 > 0 kB
23 >
24 > Total size of downloads: 0 kB
25 >
26 > Can you run the command on your system and make sure which version of jdk
27 > you
28 > are running?
29
30
31 Sure. I can even do a bit better.
32 treat ~ # USE=java emerge -pv sun-jdk db
33
34 These are the packages that I would merge, in order:
35
36 Calculating dependencies ...done!
37 [ebuild Rf ] dev-java/sun-jdk-1.4.2.10 +X +alsa -browserplugin +doc
38 -examples -jce +mozilla +nsplugin 0 kB
39 [ebuild R ] sys-libs/db-4.2.52_p2-r1 -bootstrap +doc +java -nocxx
40 +tcltk 0 kB
41
42 Total size of downloads: 0 kB
43 treat ~ # eix sun-jdk
44 * dev-java/sun-jdk
45 Available versions: 1.2.2.017 1.3.1.16 1.3.1.17 1.4.2.10 [M]1.5.0.06
46 Installed: 1.4.2.10 1.5.0.06
47 Homepage: http://java.sun.com/j2se/1.5.0/
48 Description: Sun's J2SE Development Kit, version 1.5.0.06
49
50
51 Found 1 matches
52 treat ~ # java-config --java
53 /opt/sun-jdk-1.5.0.06/bin/java
54 treat ~ #
55
56
57
58
59
60
61
62 --
63 Kevin O'Gorman, PhD