Google
  Web www.spinics.net

Re: java 1.6.0 and tomcat 5

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


On 17/06/11 16:05, Florez, Nestor wrote:
> OK, I  pointed my JAVA_HOME to /usr/bin/java and when I start tomcat5
> I get:


Under the alternatives system, /usr/bin/java is a link to the Java
runtime executable. What Tomcat requires in JAVA_HOME is the base
directory of the Java installation. If you want to use alternatives to
control the location of Java then try setting JAVA_HOME to
/etc/alternatives/java_sdk. Othterwise set it to the base directory
where the RPM installed Java.

BTW, I presume you have installed openjdk-devel. AFAIK Tomcat requires a
Java compiler to compile JSP and you want that compiler to match the JVM
runtime. You most definitely do not want it to be some gcj abomination.

-- 
Nigel Wade, System Administrator, Space Plasma Physics Group,
            University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@xxxxxxxxxxxx
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555

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


[CentOS]     [Kernel Development]     [Red Hat Install]     [PAM]     [Fedora Users]     [Red Hat Development]     [Red Hat 9]     [Big List of Linux Books]     [Linux Admin]     [Photo Sharing]     [Hot Springs]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]

Add to Google Powered by Linux