| Author |
SuSe Linux - Setting the environmental variables for java and tomcat.
|
Donald Nunn
Ranch Hand
Joined: Nov 11, 2000
Posts: 200
|
|
Hello. I'm trying to determine the appropriate location for setting the environmental variables for Java_Home and Tomcat_Home for the SuSe Linux Professional 7.3 distribution?
|
<b>Donald Nunn</b><br />Sun Certified Programmer for the Java 2 Platform
|
 |
Donald Nunn
Ranch Hand
Joined: Nov 11, 2000
Posts: 200
|
|
Well after a little research I think I figured out my own question or at least what I did seems to work. For SUSE Professional 7.3 one way to set the JAVA_HOME variable is: etc/SUSEconfig JAVA_HOME=/usr/lib/jdk1.3.1 PATH=$JAVA_HOME/bin:$PATH export JAVA_HOME Also, I thnk this will work for TOMCAT_HOME as well, however, I'll let everyone know. Thanks, [ February 16, 2002: Message edited by: Donald Nunn ]
|
 |
Bruce Jin
Ranch Hand
Joined: Sep 20, 2001
Posts: 664
|
|
|
Yes please let us know about your Tomcat setup
|
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design
Crazy Bikes created by m-Power
|
 |
Donald Nunn
Ranch Hand
Joined: Nov 11, 2000
Posts: 200
|
|
For sure, Bruce. Thanks,
|
 |
Mark Fletcher
Ranch Hand
Joined: Dec 08, 2001
Posts: 897
|
|
Hi, Im running SuSE 7.3 Pro on a development box at home and here is what I found was the easiest way to configure Java and Tomcat. 1) I went into YAST2, selected rc.config and turned off the Java lib setting (cant remember exactly what its called but its listed under general or base 2) I made sure that there were no prior java installations on the box ie kaffe or an earlier Sun JDK. 3) I downloaded the 1.4JDK bin file from java.sun.com, not the red hat rpm. 4) Run the bin file and copied the j2sdk1.4.0 directory created by the bin file to /usr/local/ 5) I then edited /etc/profile and added the $JAVA_HOME variable at the bottom of the file. 6) Repeat for Tomcat. I'll provide a more detailed description when I get home tonight, but the above is the gist of what I did. Cheers, Mark
|
Mark Fletcher - http://www.markfletcher.org/blog
I had some Java certs, but they're too old now...
|
 |
Donald Nunn
Ranch Hand
Joined: Nov 11, 2000
Posts: 200
|
|
Thanks, Mark. For the reply. I finally got to the nuts and bolts of SuSE. I have 7.3 professional installed as well, so I've been nipping at the bit and figuring out different things. Yesterday, I got Samba up and running where I could integrate my Linux server with my MS network and it's not bad. Regards,
|
 |
 |
|
|
subject: SuSe Linux - Setting the environmental variables for java and tomcat.
|
|
|