Re: tomcat and java

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

 



In your .bash_profile, or /etc/profile, add a line like this

JAVA_HOME=/usr/java/j2sdk1.4.1_02/bin

export JAVA_HOME

That worked for me.


Jeremy West



On Thu, 2003-05-08 at 18:51, Doug wrote:
> Hi folks.
> 
> I've installed Tomcat and also the java sdk (apache says jdk, but the
> sun site only shows sdk), when i run the ./startup.sh in tomcat it comes
> back with JAVA_HOME environment is not defined. I've put
> PATH="$PATH:/usr/java/j2sdk1.4.1_02/bin:." 
> export PATH in both /etc/profile and the roots .bashrc files
> 
> but still getting the same errors. anyone have any ideas what i'm
> missing or did wrong?
> 
> tia
> 
> 
> 
> 





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux