Difference between java/javaw/javaws
问题 I am wondering, what\'s the difference between java / javaw / javaws ? I found under windows, most of Java is started using javaw . 回答1: See docs for: java command1/javaw command2 The java tool launches a Java application. It does this by starting a Java runtime environment, loading a specified class, and invoking that class's main method. The javaw command is identical to java , except that with javaw there is no associated console window. Use javaw when you don't want a command prompt