Gentoo Archives: gentoo-announce

From: Karl Trygve Kalleberg <karltk@×××××××.no>
To: gentoo-announce@g.o
Cc: gentoo-user@g.o
Subject: [gentoo-announce] New feature to the Java subsystem: Switching
Date: Mon, 18 Mar 2002 15:45:57
Hi gang.

New features include

* Some bugfixes that blew up mozilla 0.9.9
* Switching between installed VMs
* Man page 

Short intro:

Listing available VMs: java-config --list-available-vms
 this will list the VMs that you have installed and allow you to set a 
 system default.

Setting the system default: java-config
--set-system-vm=blackdown-jre-1.3.0 this will set up /etc/env.d/20java to
use the blackdown-jre-1.3.0 VM. 

Setting the user default: java-config --set-user-vm=blackdown-jre-1.3.0
 will set up $HOME/.gentoo/java-env to use blackdown-jre-1.3.0. Then just
 source $HOME/.gentoo/java-env and you're all set.

To get all these goodie features, I'm afraid you will have to remerge your
JVMs. Also make sure you delete /etc/init.d/2?{jdk,jre}

Kind regards,

Karl T