Gentoo Archives: gentoo-java

From: Henrique Ferreiro <henrique.ferreiro@×××××.com>
To: Jon Severinsson <jon@×××××××××××.net>, gentoo-java@l.g.o
Subject: Re: [gentoo-java] Re: problems compiling junit
Date: Thu, 13 Apr 2006 11:07:17
Message-Id: 1144929960.26742.3.camel@localhost
In Reply to: Re: [gentoo-java] Re: problems compiling junit by Jon Severinsson
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 with sun-java-1.5 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 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 Jon Severinsson <jon@×××××××××××.net>