Passing JVM arguments to Tomcat when running as a service

java – Passing JVM arguments to Tomcat when running as a service? – Stack Overflow In your Tomcat /bin folder, you should have a tomcat5w.exe admin app (or in later versions tomcat6w.ex, tomcat8w.exe, etc). Go to the Java tab and add the args in the “Java Options:” box.

Java cmd

cmd java -version java version “1.8.0_171”Java(TM) SE Runtime Environment (build 1.8.0_171-b11)Java HotSpot(TM) Client VM (build 25.171-b11, mixed mode) Make some code Compile (if some build error, re open cmd, if syntax error…well fix it) javac Slave.java Run it java Worker “1213.1213” System bat Change dir to correct -cp classpath . this