From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GeYWa-0004uq-OY for garchives@archives.gentoo.org; Mon, 30 Oct 2006 14:54:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9UEpOv8020029; Mon, 30 Oct 2006 14:51:24 GMT Received: from smtpq3.groni1.gr.home.nl (smtpq3.groni1.gr.home.nl [213.51.130.202]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9UEnJLN030404 for ; Mon, 30 Oct 2006 14:49:20 GMT Received: from [213.51.130.189] (port=53486 helo=smtp2.groni1.gr.home.nl) by smtpq3.groni1.gr.home.nl with esmtp (Exim 4.30) id 1GeYPp-0005kK-6G for gentoo-user@lists.gentoo.org; Mon, 30 Oct 2006 15:47:05 +0100 Received: from cc117081-a.gorre1.fr.home.nl ([217.120.145.219]:41762 helo=manuel.fawlty.mine.nu) by smtp2.groni1.gr.home.nl with esmtp (Exim 4.30) id 1GeYQ5-0003cp-Uv for gentoo-user@lists.gentoo.org; Mon, 30 Oct 2006 15:47:22 +0100 From: Harm Geerts To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: What is the new!shiny! way of changing the java environment for a script with java-config-2??? Date: Mon, 30 Oct 2006 15:49:03 +0100 User-Agent: KMail/1.9.5 References: <20061030133933.GA10485@atpcbygc.ram.siemens.at> In-Reply-To: <20061030133933.GA10485@atpcbygc.ram.siemens.at> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610301549.04091.harmgeerts@home.nl> X-AtHome-MailScanner-Information: Neem contact op met support@home.nl voor meer informatie X-AtHome-MailScanner: Found to be clean X-Archives-Salt: 46479b68-244f-49c7-8fbe-b346f177bae7 X-Archives-Hash: 8c83e90d8e36ed4e526421380d543276 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 > `". 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