Both the commands (javaw.exe and java.exe) are identical..
|
The only difference is that java.exe is associated with a console/command prompt, whereas javaw.exe has no command window associated with it. When java.exe command is invoked a Command Prompt’ window is opened automatically. By default, Standard Output and Standard Error streams are directed to the console window. Since javaw.exe is not associated with any console/command prompt, the text in Standard Output, Standard Error streams are not visible.
|