[CentOS] tomcat

Wed Apr 18 18:22:09 UTC 2007
CentOS List <centoslist at gmail.com>

> 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