Gentoo Archives: gentoo-java

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