Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java Installation directory

Status
Not open for further replies.

latch

Programmer
Jun 26, 2001
89
DE
Hi

I have installed Java through the RPM and it now sits on /usr and the complete path to java binary looks like /usr/java/jdk1.3.0_02/bin/java

I have also made an entry into the /etc/profile file to allow users to have access to those binaries.
I would like to know if the currnt installation follows the right installation practices..specifically if Java has been installed in the right place.
I read a couple of documents and Im not sure if java should go under /usr or /usr/local


Advice solicited

regards
C

"Brahmaiva satyam"
-Adi Shankara (788-820 AD)
 
I have programmed with java, and i have used jdkxxx.tar.gz from installed in /opt once and in /jdk another time.
Without probleme the importance is tho have
/xxxxx/xxx/jdk/bin in your $PATH
do:
#echo $PATH
you can add it in /etc/profile for general use or in
/home/USER/.bashrc (mandrake)
/home/USER/.bash_profile (redhat)
for the specified "USER"

when you do
$java or jre
you must have message telling you arguments to give .

hope that help
 
Thanx haneo..I get the idea :)

regards
CM "Brahmaiva satyam"
-Adi Shankara (788-820 AD)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top