RE: java 1.6.0 and tomcat 5

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

 



A few ways:

1. you could symlink, something like so (change the location of the java 1.6 binary though):

ln -s /usr/java_1.6/bin/java /usr/lib/java/bin/java

2. specify the JAVA_HOME variable in tomcat.conf

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Florez, Nestor
Sent: Friday, 17 June 2011 12:14 p.m.
To: General Red Hat Linux discussion list
Subject: java 1.6.0 and tomcat 5

Hi there,

I am trying to get tomcat5 running with java 1.6.0 I "yum install tomcat5" and my java is #java -version java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.8) (rhel-1.22.1.9.8.el5_6-x86_64) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

#tomcat5 version
Found JAVA_HOME: /usr/lib/java
Please complete your /etc/tomcat5/tomcat5.conf so we won't have to look for it next time
Using CATALINA_BASE:   /usr
Using CATALINA_HOME:   /usr
Using CATALINA_TMPDIR: /usr/temp
Using JRE_HOME:
/usr/bin/dtomcat5: line 362: /usr/lib/java/bin/java: No such file or directory

What do I need to do to run tomcat5 and java 1.6.0?

Thanks,

Néstor :)

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
==========================================================
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz 
==========================================================
CAUTION:  This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s).  This information
is not to be used or stored by any other person and/or organisation.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux