Bug#298314: /etc/init.d/tomcat4 start fails; log says JAVA_HOME is not defined correctly

Herman Robak "Herman Robak" <herman@skolelinux.no>, 298314@bugs.debian.org
Sun Mar 6 14:40:03 2005


On Sun, 06 Mar 2005 16:07:45 -0500, Barry Hawkins <barry@alltc.com> wrote:

> Herman Robak wrote:
> [...]
> | 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 JRE
> Herman,
> ~    Your info doesn't seem to indicate that you have a JDK, but that
> rather you only have a JRE installed.  Which JDK are you attempting to
> use?  If it is not one of the ones indicated in the /etc/init.d/tomcat4
> startup script,

  I have kaffe installed, which is there.

> you will have to specify it in /etc/default/tomcat4.  If you do intend
> to use Blackdown, please install the Blackdown JDK and not the JRE.

  See above.

-- 
Herman Robak