Gentoo Archives: gentoo-java

From: Jon Severinsson <jon@×××××××××××.net>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] Re: problems compiling junit
Date: Thu, 13 Apr 2006 06:02:13
In Reply to: Re: [gentoo-java] Re: problems compiling junit by Joshua Nichols
Hash: SHA1

>>> ... explains a bit - you probably shouldn't have a SYSTEM JVM >>> set to Java 1.5 as of today. You can do so freely on your regular >>> user account. >>> >> The the migration document shoud warm about this. Anyway, I did >> >> java-config-2 -S sun-jdk-1.4
I'm running java-1.5 as a *generation 2* system vm without any problems. The only problem is if you at one point where using 1.5 as a *generation 1* system vm (e.g. before you started using the migration overlay). You can safely do "java-config-2 -S sun-jdk-1.5", as long as "java-config-1 -f" doesn't list a 1.5 jdk and /etc/java-config-2/build/jdk.conf doesn't list a 1.5 jdk for 1.4. (e.g. doesn't give a version if you use the *=sun-jdk syntax)
> The document doesn't explicitly state it, but java-check-environment > should be upset with you using a 1.5 system vm. In the event that it > doesn't mind... then it's a bug.
Again, only when you use it as *generation 1* system. Generation 2 is 1.5 safe. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - iD8DBQFEPenLOOpxqcksWu4RAs7DAKCIoXsXoAtTyx4fU4AGDAqVb2Yj9gCfUIqd usjiHUqI0wic0UVxYTKTfnc= =svDs -----END PGP SIGNATURE----- -- gentoo-java@g.o mailing list


Subject Author
Re: [gentoo-java] Re: problems compiling junit Henrique Ferreiro <henrique.ferreiro@×××××.com>