Setting the system JVM is different from setting the user JVM. The system JVM defines what emerge will use to compile *.java source files. As such, the system vm must be a JDK, not a JRE.

You really don't want to set 1.5 as your system JVM unless you're trying to fix ebuilds to work with 1.5. Jave 5 introduces new keywords (enum) and constructs (foreach loop, generics) that are not source compatible with previous releases and many packages will not compile with 1.5.

If you still really want to run 1.5 as the system JVM (or if you just want 1.5 for use by regular users), then this will tell you all you need to install the 1.5 JDK.

http://gentoo-wiki.com/Java_Installation_Help#Java_1.5

dcm

On 5/8/06, Robert Persson <[EMAIL PROTECTED] > wrote:
On Sunday 07 May 2006 22:14 Robert Persson was like:
> When I try to use java-config, the following happens:
>
>
> THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
> System Virtual Machine set
> You may want to update your enviroment by running:
>         "/usr/sbin/env-update && source /etc/profile"
>
>
> The same thing happens if I try to choose blackdown-jre instead of sun-jre.
>
> What do I need to do to get java working properly?

For some reason the blackdown and sun jre installs are missing some files that
java-setup expects to find. However I have found that sun-jdk does have those
files and therefore can be configured properly. I think the same may apply to
the blackdown jdk.

Robert
--
Robert Persson

Conspiracy Bears:
Once upon a time there were lots of conspiracy bears...

--
gentoo-user@gentoo.org mailing list


Reply via email to