tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Tillotson <wrj...@yahoo.co.uk>
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" <nico@seessle.de>
Newsgroups: de.comp.lang.java
Subject: Re: Tomcat 4.0 Installation
Date: Thu, 8 Nov 2001 10:42:43 +0100

"Alexander Elsholz" <aes@ps-sangross.de> schrieb im
Newsbeitrag
news:newscache$1l4hmg$3s4$1@psnews.ps-sangross.de...
> Morgen allerseits,
>
> "Michael Schmidt" <spamdepot@michaschmidt.de> wrote
in message
 news:3BE920DF.7020607@michaschmidt.de...
>
> > Gübbet nen Registryeintrag, der die Existenz
deines JDK beweist?
>
>
> also ich hab jetzt mal 1.3.1 draufgemacht und es
geht...
>
> 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"
"CurrentVersion"
  ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java
Development Kit\$1" "JavaHome"
  ReadRegStr $3 HKLM "SOFTWARE\JavaSoft\Java Runtime
Environment"
"CurrentVersion"
  ReadRegStr $4 HKLM "SOFTWARE\JavaSoft\Java Runtime
Environment\$3"
"RuntimeLib"

  IfErrors 0 NoAbort
    MessageBox MB_OK "Couldn't find a Java Development
Kit installed on this
\
        computer. Please download one from
http://java.sun.com."
    Abort

  NoAbort:
    MessageBox MB_OK "Using Java Development Kit
version $1 found in
$2$\r$\n
        Using Java Runtime Environment version $3
found in $4"
FunctionEnd

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?? :-)

Nico

 --- William Tillotson <wrjt79@yahoo.co.uk> wrote: >
Hi.
> 
> 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?
> 
> TIA
> 
> 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
> HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java
> Development
> Kit. For instance, in
> my computer I have 1.4. Then, check JavaHome under
> HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java
> 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
> http://uk.my.yahoo.com
> 
> --
> To unsubscribe:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands:
> <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list:
> <mailto:tomcat-user-owner@jakarta.apache.org>
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message