Frode Petersen wrote:
Hi. If I want to use a different Java VM (incl. libraries) for specific
programs than what is set up through the alternatives system, do I have
to use a shell script or is there a way to set up an environment that I
can associate somehow with those programs? I probably need two different
environments: The default one and Sun's for a few apps.
If using scripts, do I need to change anything other than the
equivalents of the entries in the alternatives system?
Java normally figures everything out from the JAVA_HOME environment
setting, so you need to manually or in a shell wrapper set that to where
the Sun version is installed and give the full path if you are invoking
java/jar/javac directly so you start the right one.
--
Les Mikesell
lesmikesell@xxxxxxxxx
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list