Hi friends its after a long time. Today I'm going to tell you how to install Apache-Tomcat server in Windows operating system.
Its no big deal. Just follow the instructions below :D
- First of all you need to install JDk(java development kit) and of course Apache-Tomcat in your machine. If it already installed JDK you can find it among the Program Files.
Here is the path to find JDK (assume your program files are installed in 'C' drive)
MyComputer -> C drive -> program files -> java -> JDK
If no Apache-Tomcat server download it from here
If you haven't already installed JDK don't worry. Download it from here - Setting JAVA_HOME path to the JDK in command prompt
- Open command prompt(either type cmd on the search bar or Go to All programs -> Accessories -> Comand Prompt)
- Type this in Comand Prompt
set JAVA_HOME=(path to the JDK) without brackets*
- Open command prompt(either type cmd on the search bar or Go to All programs -> Accessories -> Comand Prompt)
- Setting CATALINA_HOME path in Command Prompt
- Type below path in command prompt and press enter
set CATALINA_HOME=(path of the Apache-Tomcat folder)
this path is where you save the Apache-Tomcat folder. In my case it is in the desktop
- Type below path in command prompt and press enter
- Follow the below command to run the server.
- Go to Apache-Tomcat server bin folder in command prompt
cd (path of Apache-Tomcat server bin folder) without brackets* - Finally type catalina start in the command prompt
- Go to Apache-Tomcat server bin folder in command prompt
- If every thing OK Server will begin to run with opening TomCat prompt
- Now open the web browser and type localhost:8080 on address bar then you will get the Apache-Tomcat server home page
No comments:
Post a Comment