Gentoo Archives: gentoo-java

From: "Petteri Räty" <betelgeuse@g.o>
To: Mario Fetka <mario.fetka@×××××.com>
Cc: gentoo-java@l.g.o
Subject: Re: [gentoo-java] java-pkg_dolauncher and emul-linux-x86-java
Date: Mon, 04 May 2009 21:13:41
In Reply to: Re: [gentoo-java] java-pkg_dolauncher and emul-linux-x86-java by Mario Fetka
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 virtual/jre32-1.* > > 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 > Mario >
Create a java virtual with only emul-linux-x86-java as the provider and make the pkg creating the launcher depend on the virtual. Regards, Petteri


File name MIME type
signature.asc application/pgp-signature