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