tags:

views:

372

answers:

4

recently I noted that some applications are running on javaw(not in java). What is the difference between them and how can run my swing application on javaw?

+9  A: 

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

Chandra Patni
+1  A: 

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

Chathuranga Chandrasekara
Technically more correct: With `javaw` there is no associated *console*. The window isn't necessarily created (for example, when you run from an existing console window or completely in background).
Joey
+1  A: 

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.

GK