Recently I noted that some applications are running on javaw
(not in java
). What is the difference between them and how can I run my Swing application on javaw
?
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. javaw.exe命令与java.exe相同,但使用javaw.exe时没有关联的控制台窗口
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.