java – Difference Between java.exe and javaw.exe

javaprocesswindows

On a Windows Server, I have 2 kinds of Java processes

  • java.exe
  • javaw.exe

What are the differences ?

Best Answer

java.exe pops up a console window. javaw.exe does not.

If you expect text output, you'll need to use java.exe. If the application pops up its own window (e.g., Eclipse), you can use javaw.exe.