Gentoo Archives: gentoo-java

From: "Petteri Räty" <betelgeuse@g.o>
To: Mario Fetka <mario.fetka@×××××.com>
Cc: Gentoo Java <gentoo-java@l.g.o>
Subject: Re: [gentoo-java] java-pkg_dolauncher and emul-linux-x86-java
Date: Mon, 04 May 2009 23:27:23
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 >>> 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 > > 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.


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