Re: JDK used for compiling
Sven Köhler <[email protected]>
| Newsgroups | gmane.linux.gentoo.java |
|---|---|
| Message-ID | <[email protected]> |
> On Sun, 2007-11-18 at 20:06 +0100, Sven Köhler wrote: >>>> I was conviced, that ebuilds always use the lowest JDK version possible. >>>> But it seems, that packages use the System VM - which is 1.6 in my case. >>>> But 1.5 is also installed. >>> Ebuilds compile source/target based on the lowest JDK version specified >>> in the ebuild. Which vm is used is controlled by by the ebuild and/or >>> the env. But most times that's restricted just to a version that >>> satisfied a virtual. Not specific vms. >> Oh good! I was hoping to hear that. >> >> But here, on my machine with default config, i'm compiling >> commons-daemon, and it says "using sun-jdk-1.6". > >> Oh, and even if i set the system VM to 1.5, it still uses sun-jdk-1.6. >> Strange! Look: > > SYSTEM VM != BUILD VM > >> Why that? I don't find any particular line in commons-daemon's ebuild >> which specifies, that it should use JDK 1.6 instead of JDK 1.5. >> The dependencies are >=virtual/jdk-1.4 and such. > > http://www.gentoo.org/doc/en/java.xml#doc_chap5 OK, so i don't understand. Why does commons-daemon use sun-jdk-1.6 to compile while sun-jdk-1.5* is installed too?
signature.asc
(application/pgp-signature, 249 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHQLfl7Ww7FjRBE4ARAlUXAKCfP/5x6Piu5dbUzTcXGZWs+B4tMwCcDyY4 QT17gIdNeD1QhvaAy3tsUGo= =ypfC -----END PGP SIGNATURE-----