* [gentoo-user] What is the new!shiny! way of changing the java environment for a script with java-config-2???
@ 2006-10-30 13:39 local account for liebichw
2006-10-30 14:49 ` [gentoo-user] " Harm Geerts
0 siblings, 1 reply; 3+ messages in thread
From: local account for liebichw @ 2006-10-30 13:39 UTC (permalink / raw
To: gentoo-user
Hi,
I'm a JAVA programmer & use gentoo linux to test my apps against as many
JDK versions as I can :-). With java-config V1.x I could change the
active VM inside of a script with the line "eval `java-config -P
<jdk-name>`". This no longer works - what IS the new preferred way to
switch the JDK environment FOR A SCRIPT ONLY w/o always having to switch
user (or system) VMs?? Yes, I could print out all env vars I need
(JDK_HOME, etc...) and change them manually, but I would prefer
something as simple as my old trick above :-(
Any comments to this?
Wolfgang
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: What is the new!shiny! way of changing the java environment for a script with java-config-2???
2006-10-30 13:39 [gentoo-user] What is the new!shiny! way of changing the java environment for a script with java-config-2??? local account for liebichw
@ 2006-10-30 14:49 ` Harm Geerts
2006-10-31 10:20 ` AW: " Liebich, Wolfgang
0 siblings, 1 reply; 3+ messages in thread
From: Harm Geerts @ 2006-10-30 14:49 UTC (permalink / raw
To: gentoo-user
On Monday 30 October 2006 14:39, local account for liebichw wrote:
> Hi,
> I'm a JAVA programmer & use gentoo linux to test my apps against as many
> JDK versions as I can :-). With java-config V1.x I could change the
> active VM inside of a script with the line "eval `java-config -P
> <jdk-name>`". This no longer works - what IS the new preferred way to
> switch the JDK environment FOR A SCRIPT ONLY w/o always having to switch
> user (or system) VMs?? Yes, I could print out all env vars I need
> (JDK_HOME, etc...) and change them manually, but I would prefer
> something as simple as my old trick above :-(
> Any comments to this?
> Wolfgang
That would be GENTOO_VM according to the docs.
http://www.gentoo.org/proj/en/java/java-devel.xml
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* AW: [gentoo-user] Re: What is the new!shiny! way of changing the java environment for a script with java-config-2???
2006-10-30 14:49 ` [gentoo-user] " Harm Geerts
@ 2006-10-31 10:20 ` Liebich, Wolfgang
0 siblings, 0 replies; 3+ messages in thread
From: Liebich, Wolfgang @ 2006-10-31 10:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
Hi,
>Von: Harm Geerts [mailto:harmgeerts@home.nl]
>Gesendet: Mo 10/30/2006 3:49
>An: gentoo-user@lists.gentoo.org
>Betreff: [gentoo-user] Re: What is the new!shiny! way of changing the java environment for a script >with java-config-2???
<SNIP>
>That would be GENTOO_VM according to the docs.
>http://www.gentoo.org/proj/en/java/java-devel.xml
/me slaps hand agains head.
THANK YOU - that works as desired.
Ciao,
Wolfgang
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 3061 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-31 10:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30 13:39 [gentoo-user] What is the new!shiny! way of changing the java environment for a script with java-config-2??? local account for liebichw
2006-10-30 14:49 ` [gentoo-user] " Harm Geerts
2006-10-31 10:20 ` AW: " Liebich, Wolfgang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox