本文介绍了'java','javawv和'javaws'之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
java
,javaw
和javaws
有什么区别?
我发现在Windows下大多数Java是使用javaw
启动的.
I found under Windows most of Java is started using javaw
.
推荐答案
请参阅文档:
java
command/javaw
command
-
java
工具将启动Java应用程序.它是通过启动Java运行时环境,加载指定的类并调用该类的main
方法来实现的. -
javaw
命令与java
相同,不同之处在于,对于javaw
,没有关联的控制台窗口.当您 不要不要显示命令提示符窗口时,请使用javaw
.
- The
java
tool launches a Java application. It does this by starting a Java runtime environment, loading a specified class, and invoking that class'smain
method. - The
javaw
command is identical tojava
, except that withjavaw
there is no associated console window. Usejavaw
when you don't want a command prompt window to appear.
javaws
命令," Java Web Start 命令"
javaws
command, the "Java Web Start command"
另请参见 JDK 9发行说明不推荐使用的API,功能和选项:
See also JDK 9 Release NotesDeprecated APIs, Features, and Options:
这篇关于'java','javawv和'javaws'之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!