Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between java.exe and javaw.exe

Tags:

java

swing

javaw

People also ask

What is the difference between java and Javaw?

The java and javaw tools start a Java™ application by starting a Java Runtime Environment and loading a specified class. The javaw command is identical to java, except that javaw has no associated console window. Use javaw when you do not want a command prompt window to be displayed.

What is Javaw exe used for?

This non-console version of the application launcher is used to launch java applications usually with graphical user interfaces (GUIs). These applications have windows with menus, buttons and other interactive elements.

Does Minecraft use java or Javaw?

There are two ways to get Java working on Minecraft. One is a LAN issue and the other is a JAVA update issue. Java 7 is the best version for Minecraft Mods and Minecraft.

Why do I have Javaw?

javaw.exe is a legitimate file from Sun Microsystems. It is an executable file used for displaying error messages, if they occur while installing any application. It's an essential Java file and it is typically located in c:\program by default.


java.exe is the console app while javaw.exe is windows app (console-less). You can't 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.


The difference is in the subsystem that each executable targets.

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

The javaw.exe command is identical to java.exe, except that with javaw.exe there is no associated console window