JDK used for compiling

Sven Köhler <[email protected]>
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
Hi,

if multiple JDKs are installed, which one is used for compiling
packages? And why have you chosen that strategy?


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.

So i like the idea, that, once i have troubles with 1.6, i may switch
back to 1.5. But, there is a fair chance, that packages compiled with
1.6 doen't work with 1.5. And no: using "-target 1.5" is NOT sufficiant
due to overloading.


So which JDK version is actually used by daemons? Is it the system-VM
too? So how can i run my daemon with JDK 1.6 while compiling things
against JDK 1.5?


Thanks,
  Sven
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

iD8DBQFHQFxM7Ww7FjRBE4ARAn0JAJ9Qp3tXqcMBWFr9RTokNRPBcvEl+wCg0Sqa
jfg9D0NyN4kWISF28eclqMk=
=33kZ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.