[CentOS] tomcat

Wed Apr 18 17:37:48 UTC 2007
CentOS List <centoslist at gmail.com>

> On Wed, 2007-04-18 at 11:19 -0500, Benjamin J. Weiss wrote:
>> CentOS List wrote:
>> > Hi,
>> >
>> > I had installed java via yum and would like to run jbilling
>> > application and got an error.
>> >
>> > run.sh: Missing file: /lib/tools.jar
>> > run.sh: Unexpected results may occur.  Make sure JAVA_HOME points to a
>> > JDK and not a JRE.
>> >
>> > How can i check where is the JAVA_HOME?
>> >
>> > regards
> [snip]
>> >
>> I normally take care of JAVA_HOME in /etc/profile in the following 
>> manner:
>>
>> JAVA_HOME="/usr/local/java/j2sdk/"
>> export JAVA_HOME
>>
>> I'd like to know how you installed java using yum!  I've just downloaded
>> and installed the Java 6 SDK and broken my tomcat5...
>
> The JPackage RPM of sun java 1.5.0.11 seems to install the JRE in
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre
>

I am still on 1.4.2, install via yum from Base repo

[root at beyond ~]# rpm -qa | grep java
java-1.4.2-gcj-compat-1.4.2.0-40jpp.112
gcc-java-4.1.1-52.el5.2
java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.112

Should I upgrade it?

regards