Java and Fedora

Thomas Dodd ted at cypress.com
Mon Jan 12 16:50:41 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Aurelien Bompard wrote:
| Ryan Nix wrote:
|
|>Why is Java always so difficult to setup?  Specifically speaking, I'm
|>trying to install Limewire for a customer to appease her for trying a
|>Linux desktop.
|>Is there something that has to be configured in each user account to run
|>Limewire?
|
|
| I've created a file called java.sh in /etc/profile.d, which contains
this :
| if [ -z "$JAVA_HOME" ]; then
|   export JAVA_HOME=/usr/lib/jre-1.4.1_01
|   export PATH="$PATH:$JAVA_HOME/bin"
| fi

Don't forget something equivelent in java.csh for the (t)csh users you
maight have.

Using /etc/profile.d is better than adding it directly to /etc/profile.
It's much easier to remove/modify if need be later. Hopefully the JVM
distributions will start adding those files like this other in there now.

	-Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAAtBg+mwggWqA1pQRAiMbAKCA5/WfkBppmgB6/hdHHBGECcoCtwCfXgJF
xpSRH0cf5c+Qs3A3ipgRlp8=
=xX9T
-----END PGP SIGNATURE-----





More information about the fedora-test-list mailing list