Am Dienstag, den 28.12.2004, 13:14 -0800 schrieb Globe Trotter:
I am curious on how to use alternatives. Lets say, i have two
installations of
java and I want to use one for some program and the other for everything else.
How do I get this to work? Do I have to su and switch the alternatives
everytime I change, ...
Yes. Alternatives does perform a general, system wide switch.
Some Java progs (e.g. Tomcat and Netbeans) record the Java environment
when they start the first time. Later, you can switch to an other
environement, they will still use the previous one.
If you wish to use different Java environments for different programs
you must provide a special start script for each one (adjust the search
path and the environment variables appropriately).
Peter