List Archive: gentoo-java
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
O Xov, 13-04-2006 ás 08:03 +0200, Jon Severinsson escribiu:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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)
Then, the migration document should state how to set the generation-2
system vm. It only tells about java-config-2 -s ...
Anyway I have two problems right now:
1. If I do java-config-2 -S sun-jdk-1.4, ant-core continues to build
2. Junit does not compile even having compiled ant-core with 1.4 vm (I
had to modify jdk.conf)
> > 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 v126.96.36.199 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
email@example.com mailing list