From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FTzfR-0003io-CT for garchives@archives.gentoo.org; Thu, 13 Apr 2006 11:07:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k3DB7VHh026421; Thu, 13 Apr 2006 11:07:31 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k3DB7UFW003304 for ; Thu, 13 Apr 2006 11:07:31 GMT Received: from wproxy.gmail.com ([64.233.184.225]) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FTzfe-0005tf-Ub for gentoo-java@lists.gentoo.org; Thu, 13 Apr 2006 11:07:31 +0000 Received: by wproxy.gmail.com with SMTP id 57so1360344wri for ; Thu, 13 Apr 2006 04:07:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=THoEE71DvONYdUJEMLru2+7p6LdoefO/MC1n1K1qMgctf7l0Ig6y0lDbnnlcELgGEtUxPadwJJ17gx0M3uh+RHYzEURygfu0Xi9C5Tp8+cNRJBb2F4+JBhjQJvAQW+G/Pg7BER+GiVcARSm7Hsy3LZPxgWTHb+qbLoFSKmQJuYo= Received: by 10.65.83.9 with SMTP id k9mr226137qbl; Thu, 13 Apr 2006 04:07:30 -0700 (PDT) Received: from portatil ( [81.34.30.55]) by mx.gmail.com with ESMTP id m3sm4498425qbe.2006.04.13.04.07.09; Thu, 13 Apr 2006 04:07:30 -0700 (PDT) Subject: Re: [gentoo-java] Re: problems compiling junit From: Henrique Ferreiro To: Jon Severinsson , gentoo-java@lists.gentoo.org In-Reply-To: <443DE9CB.2050205@severinsson.net> References: <1144843758.6927.10.camel@localhost> <1144846384.6927.18.camel@localhost> <1144889890.10780.0.camel@localhost> <443DD5C9.4010401@gentoo.org> <443DE9CB.2050205@severinsson.net> Content-Type: text/plain; charset=UTF-8 Date: Thu, 13 Apr 2006 14:06:00 +0200 Message-Id: <1144929960.26742.3.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k3DB7VI7026421 X-Archives-Salt: 7f8ddc0d-d8e5-4a3a-91cb-60db5070f5c9 X-Archives-Hash: d8aac37bd99f3962267ccc963d6323a7 O Xov, 13-04-2006 =C3=A1s 08:03 +0200, Jon Severinsson escribiu: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 >=20 > >>> ... 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. > >>> =20 > >> The the migration document shoud warm about this. Anyway, I did=20 > >> > >> 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 *generatio= n > 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 *=3Dsun-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 - http://enigmail.mozdev.org >=20 > iD8DBQFEPenLOOpxqcksWu4RAs7DAKCIoXsXoAtTyx4fU4AGDAqVb2Yj9gCfUIqd > usjiHUqI0wic0UVxYTKTfnc=3D > =3DsvDs > -----END PGP SIGNATURE----- --=20 gentoo-java@gentoo.org mailing list