public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [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

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