Re: java-pkg_dolauncher and emul-linux-x86-java

Petteri Räty <[email protected]> Tue, 05 May 2009 02:27:22 +0300
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
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)
> 
> http://tinyurl.com/cbdynj
> http://tinyurl.com/c738nq
> 
> !!! 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.
signature.asc (application/pgp-signature, 261 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn/ed8ACgkQcxLzpIGCsLSJmwCfdea0HsllJmrBGWaP8djFkamO
3u0An0JXcf2xAPYR8fJxtiCmqVHTWa7L
=izkG
-----END PGP SIGNATURE-----