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