tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Tillotson <>
Subject RE: Problem with Tomcat 4.0.1 installer: Cannot find JDK!
Date Sun, 30 Dec 2001 11:43:09 GMT
Hi. (long message)

After fiddling with environmental variables as
administrator and reinstalling the JDK i am still NO
nearer getting tomcat to install on NT4 - it is still
claiming that it cannot see the JDK. However, after
trawling USENET i did find this - albeit in German -
it seems to be saying that if you check the source
that there might be an error in the install script
meaning that if it does see the supposedly correct
values in the registry then it will throw up an error
and quit (ie. it's back to front) i've done a little
testing (by deleting the various keys in the registry)
but again no difference... and unless there are a lot
of people using NT46a and tomcat 4.0.1 binary who are
just keeping stum ahd having the same prob as me i can
only assume that most people are having no problems
getting tomcat to install. Anyway here is the message
if anyone can translate it:-

From: "Nico Seessle" <>
Subject: Re: Tomcat 4.0 Installation
Date: Thu, 8 Nov 2001 10:42:43 +0100

"Alexander Elsholz" <> schrieb im
> Morgen allerseits,
> "Michael Schmidt" <> wrote
in message
> > Gübbet nen Registryeintrag, der die Existenz
deines JDK beweist?
> also ich hab jetzt mal 1.3.1 draufgemacht und es
> woran kann dat liegen???

War es denn ursprünglich die Meldung aus diesem
Source? (Die mögliche
Ursache ist dann eben irgendwas in der Registry, was
nicht ganz stimmt). Es
gab da zwar wohl auch mal Probleme mit dem Installer,
die sollten aber schon
in 4.0 Final nicht mehr existiert haben.

  ReadRegStr $1 HKLM "SOFTWARE\JavaSoft\Java
Development Kit"
  ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java
Development Kit\$1" "JavaHome"
  ReadRegStr $3 HKLM "SOFTWARE\JavaSoft\Java Runtime
  ReadRegStr $4 HKLM "SOFTWARE\JavaSoft\Java Runtime

  IfErrors 0 NoAbort
    MessageBox MB_OK "Couldn't find a Java Development
Kit installed on this
        computer. Please download one from"

    MessageBox MB_OK "Using Java Development Kit
version $1 found in
        Using Java Runtime Environment version $3
found in $4"

Dann wird man das jetzt wohl nicht mehr rausfinden
können, was das Problem
war... Es sei denn du würdest ein Backup von vor ein
paar Tagen haben?? :-)


 --- William Tillotson <> wrote: >
> I too have experienced the same problem trying to
> get
> Tomcat 4.0.1 to install on Windows when i *do* have
> a
> valid Sun SDK (d:\jdk1.3.1_02). I have already
> checked
> the registry as I suspected that this is where the
> Tomcat installer is looking and the relevant entries
> are there - yet i am still getting the same error
> message from the tomcat installer as per the orginal
> poster of this thread. The difference is that I am
> using NT4SP6a so are there any other registry
> entries
> i should be looking for?
> for reference here are my registry entries:-
> HKLM/SOFTWARE/JavaSoft/Java Development Kit
> CurrentVersion = "1.3"
> HKLM/SOFTWARE/JavaSoft/Java Development Kit/1.3
> JavaHome = "D:\jdk1.3.1_02"
> MicroVersion = "1"
> HKLM/SOFTWARE/JavaSoft/Java Development Kit/1.3.1
> JavaHome = "D:\jdk1.3.1_02"
> MicroVersion = "1"
> HKLM/SOFTWARE/JavaSoft/Java Development Kit/1.3.1_02
> [no entries - aside from default]
> I have tried entering the JavaHome and Microversion
> keys to:-
> HKLM/SOFTWARE/JavaSoft/Java Development Kit/1.3.1_02
> with no effect, and also amended the CurrentVersion
> key to "1.3.1_02" again with no luck.
> Any other suggestions?
> William
> From: Ion Larrañaga 
> Subject: RE: Problem with Tomcat 4.0.1 installer:
> Cannot find JDK! 
> Date: Fri, 28 Dec 2001 00:52:23 -0800 
> The Tomcat 4.0.1 installer for Windows uses register
> entries to detect the
> JDK installation directory. Check the value of
> CurrentVersion under
> Development
> Kit. For instance, in
> my computer I have 1.4. Then, check JavaHome under
> Development
> Kit/1.4 (in my case),
> which must point to the java directory. The error
> you
> report seems to happen
> when the installer is unable to find the current
> version value.
> Hope it helps
> Ion
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> --
> To unsubscribe:  
> <>
> For additional commands:
> <>
> Troubles with the list:
> <>

Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message