Can't install Tomcat addon (with JDK 1.5)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Can't install Tomcat addon (with JDK 1.5)

Postby liqweed » 03. October 2004 12:06

Hi,

I have XAMPP v1.4.8 installed. Trying to install the Tomcat addon (v1.4.5b) I get the message: "Sun Java 2 SDK win32 not found. Unable to get install path". The Java SDK v1.5 (or v5, whatever you call it) is properly installed and working.

Help anyone?
Thanx
liqweed
 
Posts: 10
Joined: 28. May 2004 09:44

Postby mas_ab » 16. October 2004 15:51

yes, I can't install it too. :cry:
maybe we should try the zip package not the installer.
mas_ab
mas_ab
 
Posts: 1
Joined: 16. October 2004 15:44

Postby liqweed » 16. October 2004 16:09

Were you able to get it to work with the zip file installation?
liqweed
 
Posts: 10
Joined: 28. May 2004 09:44

Postby dwfowler » 22. October 2004 22:53

I had the same problem when following the instructions. One little letter is enough to throw off the installation.

Instead of downloading and installing Java Sun J2EE 1.4 SDK, try downloading J2SE 1.4 SDK.

Note: I uninstalled the J2EE before installing J2SE. I also had to stop Apache while installing Tomcat, in order allow some files to be replaced.

Tomcat will find the registry entry that does not exist in J2EE, and the installation (and all the Tomcat links) will succeed.

I'm sure that it was merely a typo. The XAMPP package is phenomenal, and has saved me many hours of headaches.
dwfowler
 
Posts: 6
Joined: 22. October 2004 20:50

Postby liqweed » 23. October 2004 11:01

Hi dwfowler,

The problem I had didn't have to do with J2EE installation. J2EE installation usually comes on top of a J2SE installation, not replacing it. Anyhow, I do not have J2EE installed but J2SE. I had a problem installing the Tomcat addon with J2SE v1.5, I kinda' assumed that it does work with J2SE v1.4. Glad to hear that it does.

In anyway I agree of course, XAMPP is a great package, no doubt. It's useful in many ways regardless of this problem.
liqweed
 
Posts: 10
Joined: 28. May 2004 09:44

Postby dwfowler » 05. November 2004 23:50

Hey Liqweed!

I tried the J2EE install first, but it did not include any of the J2SE files or registry entries, including the registry entries that the Tomcat installer is looking for. Maybe they fixed that in 1.5?
dwfowler
 
Posts: 6
Joined: 22. October 2004 20:50

Postby liqweed » 06. November 2004 12:16

Hi dwfowler,

I'm not sure I understand what's to be fixed with the Java package. As far as I know J2EE doesn't replace or include J2SE, but supplements it with the J2EE architecture packages.

Do you happen to know what regitry entries the Tomcat installer is looking for? I had no problem installing a Tomcat standalone installation, it's just the Tomcat addon that gives me trouble.
liqweed
 
Posts: 10
Joined: 28. May 2004 09:44

Postby dwfowler » 08. November 2004 15:04

Hi back!

It was looking for HKLM\SOFTWARE\JavaSoft\Java Development Kit\x.x\JavaHome

for the location of the SDK. With J2EE, that key (and the directory, in this case, "c:\j2sdk1.4.2_06" did not exist until I installed J2SE.
dwfowler
 
Posts: 6
Joined: 22. October 2004 20:50

Postby liqweed » 18. November 2004 12:16

dwfowler,

Thanks for the info, but:
I got both
HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.5\JavaHome
and
HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.5.0\JavaHome
properly set, pointing to the right place. Otherwise applications like Tomcat (not the XAMPP addon, the original standalone) relying on the JDK could not have been installed.

Again, J2EE has nothing to do with it. It only supplements the Java packages, and in anyway it has nothing to do with the problem I'm having.

Update: Installation problem persists with Tomcat addon v1.4.9.
liqweed
 
Posts: 10
Joined: 28. May 2004 09:44

Postby jackquake » 22. November 2004 22:49

Has anyone gotten this to work? I'd really like to try the tomcat add-on, but just can't get it to work. I've tried d/l several different Java packages from Sun, but no help.

If anyone has gotten this to work, please let us know what packages to install first.


Thx,
JQ
jackquake
 
Posts: 1
Joined: 22. November 2004 22:44

Postby bromwich » 09. December 2004 08:32

I had the same trouble with JDK 1.5 so I uninstalled it and installed JDK 1.4 instead. This then allowed Tomcat to install just fine.

JDK 1.5 had installed in C:\Program Files\Java\... whereas 1.4 installed in C:\j2sdk1.4.2_04. Perhaps the space in the pathname of the 1.5 install messed up the Tomcat installer?

Julian.
bromwich
 
Posts: 1
Joined: 09. December 2004 08:24

Postby SoreGums » 22. May 2005 02:23

(please read what i write, not what u think i've written:)

Ok so i had tomcat 5 installed and working on its own. as in I downloaded the install package from apache.org. it found my JDK and works fine.

I needed apache, php, mysql installed but when I tried to install them all seperatley it didn't work forund xampp and its all working now, woohoo.

So now i need tomcat to be installed again (i uninstalled the previous tomcat). But like ppl above I get the error....

Explain that one?

I have looked into the registry (its really not that scary...) and the proper keys are there and point to the correct place...

So something is broken in "xampp-tomcat-addon-1.4.9-installer.exe" cause the JDK is there, the reg keys r there, and standalone "jakarta-tomcat-5.5.9.exe" installs fine and works.
SoreGums
 
Posts: 2
Joined: 22. May 2005 02:07
Location: Brisbane, Australia

Postby SoreGums » 22. May 2005 03:28

Ok this is easy enough to fix...

The way the installer looks for the JDK is hard coded to look in the registry for version 1.4 only.

Fix that to look for any version, preferibly the latest and everything should work again.

I found this out by looking at the zip version of the tomcat add-on.

Changing "install_java.bat" to look at 1.5 instead of 1.4 made the wole lot work :)
SoreGums
 
Posts: 2
Joined: 22. May 2005 02:07
Location: Brisbane, Australia


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 36 guests