List Archive: gentoo-java
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
Mario Fetka wrote:
> On Monday, 4. May 2009 23:13:42 you wrote:
>> Mario Fetka wrote:
>>> On Monday, 4. May 2009 22:15:51 Alistair Bush wrote:
>>>> Hi Mario
>>>> Mario Fetka wrote:
>>>>> Hallo Java dev team,
>>>>> is there a way to specify the wanted java version with dolauncher
>>>> The _minimum_ java version is already specified automagically based on
>>>> the [R]DEPEND variables.
>>>> Specifically the >=virtual/jre-1.* and java-virtuals/* items.
>>> thx i alredy know this
>>> but is there for ex. a way to say i want on amd64 systems the app-
>>> emulation/emul-linux-x86-java package as the java vm to use
>>> i have some packages that provides only x86 native interface
>>> on x86 everything is ok but on amd64 you have a elf mismatch ...
>>> yes at the moent i am writing some special scripts that use java-config
>>> --set- vm=emul-linux-x86-java
>>> it would be greate if the java-pkg_dolauncher gets an extra parameter
>>> where i can say use the emul-vm or sometihg simalar like
>>> at the momemt when you set app-emulation/emul-linux-x86-java it anly
>>> errors out
>>> !!! ERROR: Couldn't find a VM dep
>>> thx in av
>> Create a java virtual with only emul-linux-x86-java as the provider and
>> make the pkg creating the launcher depend on the virtual.
> i have created a new java-virtuals/jre32 based on the java-virtuals/jdk-with-
> com-sun package but it is not working (tm)
> !!! ERROR: Couldn't find a VM dep
> thx for the help
emul-linux-x86-java is not a JDK and the eclasses work based on the
assumption that you have one installed in pkg_setup. Just avoid vm
switching being done and it should work.