[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Where is the appropriate location for setting a default JDK?



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

List,
~    I usually have a section like the following in my .bash_profile:

# IBM Java 1.4.2 SDK settings
export JAVA_HOME=/opt/IBMJava2-ppc-142
export PATH="${PATH}":"${JAVA_HOME}"/bin
export PATH="${PATH}":"${JAVA_HOME}"/jre/bin

which works fine for things I launch from a shell.  However, for things
like a KDE Application Button to launch Eclipse, this does nothing.
~    I am wondering that the most appropriate location would be for
setting the JAVA_HOME and associated PATH additions to indicate a
system-wide default JDK for my Debian installations.  I am currently
thinking of /etc/bash.bashrc, but because that may be overwritten when
bash upgrades, I am unsure.  Can some of you tell me best practices
and/or recommendations for this?

Regards,
- --
Barry Hawkins
All Things Computed
site: www.alltc.com
weblog: www.yepthatsme.com

Registered Linux User #368650
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBgSyJ7bZ6kUftWZwRAoaDAJ9Bun/zIQK7PcYCvxVlrP3WsE0E6gCfToUB
WCpobzJF1iEVn9xVZL9Ao1Q=
=40H5
-----END PGP SIGNATURE-----



Reply to: