This is the issue coming up when I am trying to set up the environmental variable inside the Catalina.bat file in Tomcat v6
I have installed JDK inside C:\Program Files\Java
and the Tomcat folder is placed under C:\tomcat1 > I have changed the tomcat folder name as C:\tomcat1
I tried to edit the Catalina.bat file to change the environmental variable
Catalina.bat > EDIT Mode
rem ---------------------------------------------------------------------------
set JAVA_HOME :C:\Program Files\Java\jdk1.8.0_60
rem Guess CATALINA_HOME if not defined
set "CURRENT_DIR=%cd%"
if not "%CATALINA_HOME%" == "" goto gotHome
set "CATALINA_HOME=%CURRENT_DIR%"
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
cd ..
set "CATALINA_HOME=%cd%"
cd "%CURRENT_DIR%"
Hello, Iam n ocpjp 6 aspirant , currently I am preparing with Richard F Raposa ( still reading) the book seams a bit easy to grasp the concept , K&B is good but not for amateurs