Header Ads

  • New Updates

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



    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



     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).

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


    Then restart Tomcat :)

    No comments

    Post Top Ad

    Post Bottom Ad

    Ads