Wednesday, April 16.

Header Ads

To run Tomcat Xampp in Windows (Solved: Tomcat Started/Stopped with errors, return code: 1)

tomcat_xampp_windows


When You are trying to start Tomcat service in Windows Xampp and if it showing startup error as shown as below, then try to do below solution to solve this issue.

"error "

Tomcat Started/Stopped with errors, return code: 1
2:47:26 PM  [Tomcat] Make sure you have Java JDK or JRE installed and the required ports are free
2:47:26 PM  [Tomcat] Check the "/xampp/tomcat/logs" folder for more information


To solve this issue you can add some enviornment variables in windows as shown below,

First make sure Download JDK and JRE latest version and install from below link

http://www.oracle.com/technetwork/java/javase/downloads/index.html

and go to window enviornment variables, add followings

Windows_enviornment_variables1


 Create an environment variable "JAVA_HOME" with path to jdk(C:\Program Files\Java\jdk-11.0.1).
Then Create an environment variable "JRE_HOME" with path to jre(C:\Program Files\Java\jre1.8.0_191).

tomcat_xampp_windows
Next Entries in below "path" should be added like this at of all the previous path stuff's ;%JAVA_HOME%/bin;%JRE_HOME%/bin;

tomcat_xampp_windows

Then restart Tomcat :)

No comments

Post Top Ad

Post Bottom Ad