Hi ,

        I tried your command

>First which directory was jdk1.5.0_13 installed under? Assuming
> /usr/java/jdk1.5.0_13,
> execute the following command
> export PATH=/usr/java/jdk1.5.0_13:$PATH

it is still showing that the java version is 1.4.

i think it is something to do with the rpm that i installed . I went for

*JDK 5.0 Update 13
The Java SE Development Kit (JDK) includes:

   * the Java Runtime Environment (JRE)
   * command-line development tools, such as compilers and debuggers, that
are necessary or useful for developing applets and applications*

So is it because of this that am having some problem. I read some where that
we need to install complete JDK 1.5 .

Please help me forward.

----------------------------------------------------------------------------------------

On Oct 31, 2007 7:21 PM, Gabe Wong <[EMAIL PROTECTED]> wrote:
> sunil chandran wrote:
> > Hi ,
> >
> >   I went for jdk5.0 . but still when i type : " java -version" it shows
that
> >
> > java version "1.4.2_12"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
> > Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
> >
> > why is it so.
> > i went for jdk1.5.0_13-linux-i586.rpm
> >
> > please help me.
> >
>
> First which directory was jdk1.5.0_13 installed under? Assuming
> /usr/java/jdk1.5.0_13,
> execute the following command
> export PATH=/usr/java/jdk1.5.0_13:$PATH
>
> However I am assuming you are trying to get /usr/java/jdk1.5.0_13 for
> Tomcat to run  under.
> So in the Tomcat startup.sh or catalina.sh script add the following
> (towards the top part of the script)
> export JAVA_HOME=/usr/java/jdk1.5.0_13
>
> --
> Regards
>
> Gabe Wong
> NGASI AppServer Manager
> Application server installation and configuration AUTOMATION
> for Tomcat, JBoss, and Jetty.
> http://www.ngasi.com
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Sunil

Reply via email to