AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

!@#!# JAVA_HOME

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java.setup
View previous topic :: View next topic  
Author Message
Chris Moore
Guest





PostPosted: Tue Aug 10, 2004 3:26 pm    Post subject: !@#!# JAVA_HOME Reply with quote



I've installed Tomcat and attempted to set JAVA_HOME. I've read
various ways of doing it and tried every one. I've set it in the local
..bash_profile, .bashrc, root's .bash_profile, .bashrc, in /etc/profile
and created symbolic links like they were bread crumbs. When I run
which java it comes back with /usr/bin and I created a symbolic link
there to /usr/local/java/j2sdk1.4.2_05/bin ( I've also set the
profile,etc,up to go to just j2sdk1.4.2_05 but with no success --
setting it to bin made more sense). However, if I enter cd java from
/usr/bin, I go to the correct directory.

1 root root 29 Aug 10 09:26 j2sdk1.4.2_05 ->
/usr/local/java/j2sdk1.4.2_05
lrwxrwxrwx 1 root root 33 Aug 10 10:24 java ->
/usr/local/java/j2sdk1.4.2_05/bin



echo $JAVA_HOME
/usr/local/java/j2sdk1.4.2_05/bin

./startup.sh
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE

RedHat Linux 9

Thanks in Advance,
Chris
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java.setup All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.