1 |
Mario Fetka wrote: |
2 |
> On Monday, 4. May 2009 23:13:42 you wrote: |
3 |
>> Mario Fetka wrote: |
4 |
>>> On Monday, 4. May 2009 22:15:51 Alistair Bush wrote: |
5 |
>>>> Hi Mario |
6 |
>>>> |
7 |
>>>> Mario Fetka wrote: |
8 |
>>>>> Hallo Java dev team, |
9 |
>>>>> |
10 |
>>>>> is there a way to specify the wanted java version with dolauncher |
11 |
>>>> The _minimum_ java version is already specified automagically based on |
12 |
>>>> the [R]DEPEND variables. |
13 |
>>>> |
14 |
>>>> Specifically the >=virtual/jre-1.* and java-virtuals/* items. |
15 |
>>> thx i alredy know this |
16 |
>>> but is there for ex. a way to say i want on amd64 systems the app- |
17 |
>>> emulation/emul-linux-x86-java package as the java vm to use |
18 |
>>> i have some packages that provides only x86 native interface |
19 |
>>> on x86 everything is ok but on amd64 you have a elf mismatch ... |
20 |
>>> |
21 |
>>> yes at the moent i am writing some special scripts that use java-config |
22 |
>>> --set- vm=emul-linux-x86-java |
23 |
>>> |
24 |
>>> it would be greate if the java-pkg_dolauncher gets an extra parameter |
25 |
>>> where i can say use the emul-vm or sometihg simalar like |
26 |
>>> virtual/jre32-1.* |
27 |
>>> |
28 |
>>> at the momemt when you set app-emulation/emul-linux-x86-java it anly |
29 |
>>> errors out |
30 |
>>> |
31 |
>>> !!! ERROR: Couldn't find a VM dep |
32 |
>>> |
33 |
>>> thx in av |
34 |
>>> Mario |
35 |
>> Create a java virtual with only emul-linux-x86-java as the provider and |
36 |
>> make the pkg creating the launcher depend on the virtual. |
37 |
>> |
38 |
>> Regards, |
39 |
>> Petteri |
40 |
> |
41 |
> i have created a new java-virtuals/jre32 based on the java-virtuals/jdk-with- |
42 |
> com-sun package but it is not working (tm) |
43 |
> |
44 |
> http://tinyurl.com/cbdynj |
45 |
> http://tinyurl.com/c738nq |
46 |
> |
47 |
> !!! ERROR: Couldn't find a VM dep |
48 |
> |
49 |
> thx for the help |
50 |
|
51 |
emul-linux-x86-java is not a JDK and the eclasses work based on the |
52 |
assumption that you have one installed in pkg_setup. Just avoid vm |
53 |
switching being done and it should work. |