• Post Reply Bookmark Topic Watch Topic
  • New Topic

SuSe Linux - Setting the environmental variables for java and tomcat.  RSS feed

 
Donald Nunn
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Donald Nunn
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes please let us know about your Tomcat setup
 
Donald Nunn
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For sure, Bruce.
Thanks,
 
Mark Fletcher
Ranch Hand
Posts: 897
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Donald Nunn
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!