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 |
>>> Ebuilds compile source/target based on the lowest JDK version specified |
6 |
>>> in the ebuild. Which vm is used is controlled by by the ebuild and/or |
7 |
>>> the env. But most times that's restricted just to a version that |
8 |
>>> satisfied a virtual. Not specific vms. |
9 |
>> Oh good! I was hoping to hear that. |
10 |
>> |
11 |
>> But here, on my machine with default config, i'm compiling |
12 |
>> commons-daemon, and it says "using sun-jdk-1.6". |
13 |
> |
14 |
>> Oh, and even if i set the system VM to 1.5, it still uses sun-jdk-1.6. |
15 |
>> Strange! Look: |
16 |
> |
17 |
> SYSTEM VM != BUILD VM |
18 |
> |
19 |
>> Why that? I don't find any particular line in commons-daemon's ebuild |
20 |
>> which specifies, that it should use JDK 1.6 instead of JDK 1.5. |
21 |
>> The dependencies are >=virtual/jdk-1.4 and such. |
22 |
> |
23 |
> http://www.gentoo.org/doc/en/java.xml#doc_chap5 |
24 |
|
25 |
OK, so i don't understand. |
26 |
|
27 |
Why does commons-daemon use sun-jdk-1.6 to compile while sun-jdk-1.5* is |
28 |
installed too? |