java.exe 和 javaw.exe 的区别
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1997718/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Difference between java.exe and javaw.exe
提问by asela38
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
?
最近我注意到一些应用程序正在运行javaw
(而不是在java
)。它们之间有什么区别,我如何在其上运行我的 Swing 应用程序javaw
?
采纳答案by GuruKulki
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.
java.exe 是等待应用程序完成的命令,直到它接受下一个命令。javaw.exe 是不会等待应用程序完成的命令。您可以继续执行其他命令。
回答by Chandra Patni
回答by Chathuranga Chandrasekara
The javaw.exe command is identical to java.exe, except that with javaw.exe there is no associated console window
javaw.exe 命令与 java.exe 相同,除了 javaw.exe 没有关联的控制台窗口