To set CATALINA_HOME, JRE_HOME, JAVA_HOME in environment variable
To run apache tomcat server this is a basic requirement-
2- Now type below command one by one.
setx JAVA_HOME -m "Java/JDK_Installation_Directory_Path";
setx JRE_HOME -m "Java/JRE_Installation_Directory_Path";
setx CATALINA_HOME -m "Tomcat_Directory_Path/bin";
3-Now restart system.
4- To verify environment variable run following command one by one-
echo %JAVA_HOME%
echo %JRE_HOME%
echo %CATALINA_HOME%
Now run tomcat.(in case of installer)
or
In case of tomcat downloaded folder-
1- Open command Prompt=> Run as administrator
2- Go to tomcat directory/bin folder.
3- execute/run startup.bat
4- you will get a separate window which shows tomcat status.
Its ready to play.
No comments:
Post a Comment