1 |
On Sun, 2007-11-18 at 20:06 +0100, Sven Köhler wrote: |
2 |
> >> I was conviced, that ebuilds always use the lowest JDK version possible. |
3 |
> >> But it seems, that packages use the System VM - which is 1.6 in my case. |
4 |
> >> But 1.5 is also installed. |
5 |
> > |
6 |
> > Ebuilds compile source/target based on the lowest JDK version specified |
7 |
> > in the ebuild. Which vm is used is controlled by by the ebuild and/or |
8 |
> > the env. But most times that's restricted just to a version that |
9 |
> > satisfied a virtual. Not specific vms. |
10 |
> |
11 |
> Oh good! I was hoping to hear that. |
12 |
> |
13 |
> But here, on my machine with default config, i'm compiling |
14 |
> commons-daemon, and it says "using sun-jdk-1.6". |
15 |
|
16 |
> Oh, and even if i set the system VM to 1.5, it still uses sun-jdk-1.6. |
17 |
> Strange! Look: |
18 |
|
19 |
SYSTEM VM != BUILD VM |
20 |
|
21 |
> Why that? I don't find any particular line in commons-daemon's ebuild |
22 |
> which specifies, that it should use JDK 1.6 instead of JDK 1.5. |
23 |
> The dependencies are >=virtual/jdk-1.4 and such. |
24 |
|
25 |
http://www.gentoo.org/doc/en/java.xml#doc_chap5 |
26 |
|
27 |
-- |
28 |
William L. Thomson Jr. |
29 |
Gentoo/Java |