JavaProgramNothing is displayed on the Java console. If you are developing a program, you can use Java to see the error message. If you are running a completed program, you can use javaw, it can increase the speed by a little. Both applications can run your program and are very similar,But there is an important difference.Java runs through the console, while Java W does not. The console is almost compiled into plain text. For example, if you run all the printed statuses with javaw, the status will not be printed. The useful information you print in the program is the same as the error information. Therefore, if you choose which one to use: if it is based on plain text, it is compiled into Java. If it is graphical, it can be printed as plain text at any time in Java. If you are checking for errors, use Java. If the program is purely graphical and you need to increase the speed, use javaw.
1 java.exe:
Run Java program
2、javac.exe:
Compile to generate the. Class file.
32.16javaw.exe:
Compared with the Java command, a console window is displayed and maintained when you run the Java command. when Java W is run and output in the console, the Console appears at the beginning. After the main program is called, the console disappears. Java W is mostly used to run GUI programs.