Re: JAVA_HOME enviroment variable

JOYDEEP <[email protected]> Wed, 02 May 2007 15:09:51 +0530
Newsgroups gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
Gbenga Bello wrote:
> I assume your jdk installation is located in the directory  /usr/local/JDK1_5_02. If not substitute that for your own installation  dir
>   
>   export JAVA_HOME=/usr/local/JDK1_5_02
>   export PATH=$PATH:${JAVA_HOME}/bin
>   
>   

Thanks for your kind response.  I don't have  /usr/local/JDK1_5_02 in my
sytem. here is what I have
----------------------
ls /usr/lib/jvm/java

.  ..  bin  include  jre  lib
-----------------------------

so here is my /etc/profile
-----------------------------------
JAVA_HOME=/usr/lib/jvm/java
export JAVA_HOME
CATALINA_HOME=/root/slide/jakarta-slide-2.1-tomcat-5.0.28
export CATALINA_HOME
----------------------------------

CATALINA_HOME is where I unpack the package.

now  startup.sh reports
=======================

Using CATALINA_BASE:   /root/slide/jakarta-slide-2.1-tomcat-5.0.28
Using CATALINA_HOME:   /root/slide/jakarta-slide-2.1-tomcat-5.0.28
Using CATALINA_TMPDIR: /root/slide/jakarta-slide-2.1-tomcat-5.0.28/temp
Using JAVA_HOME:       /usr/lib/jvm/java
=================================

but  http://localhost:8080/slide is not working and there is no 8080 port as open here.
I have checked with nmap.  kindly help


>   copy and paste or type this two commands on your shell window and hit enter key
>   
>   Alternatively
>   Copy and paste the command in your /etc/profile
>   save and close
>   
>   One of this two stuffs should work for you
>
> JOYDEEP <[email protected]> wrote:  Dear list,
>
> I have installed java 1.4 in suse 9.2.  Now " echo $JAVA_HOME"   shows  
> /usr/lib/jvm/jre
> but when I enter the bin directory of slide then  " echo $JAVA_HOME"   
> returns nothing.
> SO I manually set the value from command line and now " echo
> $JAVA_HOME"  returns /usr/lib/jvm/jre
>
> but after firing up the   startup.sh  I reports
> ========================
> The JAVA_HOME environment variable is not defined
> This environment variable is needed to run this program
> ====================================
>
> how can I fix this problem ? thanks in advanced.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>        
> ---------------------------------
> Ahhh...imagining that irresistible "new car" smell?
>  Check outnew cars at Yahoo! Autos.
>