You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Emil Petkov <em...@petkov.nl> on 2004/12/29 00:19:17 UTC

Problem with Tomcat 5.5.6 and Java 1.5 on Solaris

Dear all,

I installed the JDK 1.5 packages for Solaris (on Solaris 9). Seemingly
the JDK is in /usr/jdk/instances/java1.5.0. Installed tomcat 5.5.6 as
well. However, setting JAVA_HOME to this location results in the
following message from the tomcat startup script:

The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JR

The binaries of java 1.5.0 seem to be in bin/sparcv9

There is some problem here and I would appreciate any help with it.

10x in advance.


Re: Problem with Tomcat 5.5.6 and Java 1.5 on Solaris

Posted by QM <qm...@brandxdev.net>.
On Wed, Dec 29, 2004 at 12:19:17AM +0100, Emil Petkov wrote:
: I installed the JDK 1.5 packages for Solaris (on Solaris 9). Seemingly
: the JDK is in /usr/jdk/instances/java1.5.0.
: [snip]
: [Error message:]
: The JAVA_HOME environment variable is not defined correctly
: This environment variable is needed to run this program
: NB: JAVA_HOME should point to a JDK not a JR
: 
: The binaries of java 1.5.0 seem to be in bin/sparcv9

You say that JDK 1.5 is "seemingly" installed in that directory.  What's
in that directory, and does your user have read/execute permissions on
the proper files?

Furthermore, are you certain you've properly set JAVA_HOME?
What happens if you type
	echo $JAVA_HOME

on the command line?

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org