[CentOS] tomcat

Thu Apr 19 19:39:59 UTC 2007
Benjamin J. Weiss <benjamin at birdvet.org>

CentOS List wrote:
>> Patrick wrote:
>>> 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
>>>
>>>
>> Do you have the yum.repo.d file for jpackage?
>
> http://www.jpackage.org/jpackage.repo
Okay, I must be doing something wrong.

# wget -P /etc/yum.repos.d http://www.jpackage.org/jpackage.repo
# yum search java > /root/java.txt
# grep sun java.txt
# grep java-1 java.txt

I can't seem to find where anything other than 1.4 is available in the 
jpackage repo.  What am I doing wrong?

Thanks!