xampp Java 1.6 and tomcat compatibility fix
Posted: 20. February 2007 03:16
Hey There
I resently installed xampp using the installer
I installed Java 1.6
I tried to install the tomcat add-on using the tomcat installer but it spat out an error saying can't find Java 1.5
I successfully installed tomcat using the .zip by modifing one char in one file.
Extract the tomcat .zip file to your example directory.
open
xampp/install/javaaddon.php
goto line 156 column 78
replace 1.5 with 1.6
example:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.5\JavaHome
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.6\JavaHome
Start topcat with the tomcat_start.bat you should be able to access tomcat on
http://localhost:8080
So far so good I've had it running for one day
I resently installed xampp using the installer
I installed Java 1.6
I tried to install the tomcat add-on using the tomcat installer but it spat out an error saying can't find Java 1.5
I successfully installed tomcat using the .zip by modifing one char in one file.
Extract the tomcat .zip file to your example directory.
open
xampp/install/javaaddon.php
goto line 156 column 78
replace 1.5 with 1.6
example:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.5\JavaHome
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.6\JavaHome
Start topcat with the tomcat_start.bat you should be able to access tomcat on
http://localhost:8080
So far so good I've had it running for one day