swing – Difference between java.exe and javaw.exe

swing – Difference between java.exe and javaw.exe

java.exe is the console app while javaw.exe is windows app (console-less). You cant have Console with javaw.exe.

java.exe is the command where it waits for application to complete untill it takes the next command.
javaw.exe is the command which will not wait for the application to complete. you can go ahead with another commands.

swing – Difference between java.exe and javaw.exe

The difference is in the subsystem that each executable targets.

  • java.exe targets the CONSOLE subsystem.
  • javaw.exe targets the WINDOWS subsystem.

Leave a Reply

Your email address will not be published.