Gentoo Archives: gentoo-user

From: Devon Miller <devon.c.miller@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] can't configure java
Date: Mon, 08 May 2006 13:32:22
Message-Id: c52221f0605080622o4c95ba26j2299fe34399cf91a@mail.gmail.com
In Reply to: Re: [gentoo-user] can't configure java by Robert Persson
1 Setting the system JVM is different from setting the user JVM. The system
2 JVM defines what emerge will use to compile *.java source files. As such,
3 the system vm must be a JDK, not a JRE.
4
5 You really don't want to set 1.5 as your system JVM unless you're trying to
6 fix ebuilds to work with 1.5. Jave 5 introduces new keywords (enum) and
7 constructs (foreach loop, generics) that are not source compatible with
8 previous releases and many packages will not compile with 1.5.
9
10 If you still really want to run 1.5 as the system JVM (or if you just want
11 1.5 for use by regular users), then this will tell you all you need to
12 install the 1.5 JDK.
13
14 http://gentoo-wiki.com/Java_Installation_Help#Java_1.5
15
16 dcm
17
18 On 5/8/06, Robert Persson <ireneshusband@××××××××.uk> wrote:
19 >
20 > On Sunday 07 May 2006 22:14 Robert Persson was like:
21 > > When I try to use java-config, the following happens:
22 > >
23 > >
24 > > THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
25 > > System Virtual Machine set
26 > > You may want to update your enviroment by running:
27 > > "/usr/sbin/env-update && source /etc/profile"
28 > >
29 > >
30 > > The same thing happens if I try to choose blackdown-jre instead of
31 > sun-jre.
32 > >
33 > > What do I need to do to get java working properly?
34 >
35 > For some reason the blackdown and sun jre installs are missing some files
36 > that
37 > java-setup expects to find. However I have found that sun-jdk does have
38 > those
39 > files and therefore can be configured properly. I think the same may apply
40 > to
41 > the blackdown jdk.
42 >
43 > Robert
44 > --
45 > Robert Persson
46 >
47 > Conspiracy Bears:
48 > Once upon a time there were lots of conspiracy bears...
49 >
50 > --
51 > gentoo-user@g.o mailing list
52 >
53 >