java / javaw / javaws之间的区别 [英] Difference between java/javaw/javaws

查看:176
本文介绍了java / javaw / javaws之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道, java / javaw / javaws ?我发现在Windows下,大多数Java都是使用 javaw 开始的。

I am wondering, what's the difference between java/javaw/javaws? I found under windows, most of Java is started using javaw.

推荐答案

请参阅以下文档:

  • java command1/javaw command2


  1. java 工具启动Java应用程序。它通过启动Java运行时环境,加载指定的类,并调用该类的 main 方法来实现此目的。

  2. javaw 命令与 java 相同,但 javaw 没有关联的控制台窗口。当 希望显示命令提示符窗口时,请使用 javaw

  1. The java tool launches a Java application. It does this by starting a Java runtime environment, loading a specified class, and invoking that class's main method.
  2. The javaw command is identical to java, except that with javaw there is no associated console window. Use javaw when you don't want a command prompt window to appear.



  • javaws 命令 Java Web Start 命令

  • javaws command, the "Java Web Start command"


    javaws 命令启动Java Web Start,它是Java网络启动协议(JNLP)的参考实现。 Java Web Start启动托管在网络上的Java应用程序/小程序。


    如果指定了JNLP文件, javaws 将启动Java应用程序/ JNLP文件中指定的applet。


    javaws 启动程序有一组当前版本支持的选项。但是,可能会在将来的版本中删除这些选项。

    The javaws command launches Java Web Start, which is the reference implementation of the Java Network Launching Protocol (JNLP). Java Web Start launches Java applications/applets hosted on a network.

    If a JNLP file is specified, javaws will launch the Java application/applet specified in the JNLP file.

    The javaws launcher has a set of options that are supported in the current release. However, the options may be removed in a future release.

    另请参阅 JDK 9发行说明
    不推荐使用的API,功能和选项


    Java部署技术已弃用,将在以后的版本中删除

    Java Applet和WebStart功能,包括Applet API,Java插件,Java Applet Viewer,JNLP和Java Web Start,包括 javaws 工具全部已弃用在JDK 9中,将在以后的版本中删除。

    Java Deployment Technologies are deprecated and will be removed in a future release
    Java Applet and WebStart functionality, including the Applet API, The Java plug-in, the Java Applet Viewer, JNLP and Java Web Start including the javaws tool are all deprecated in JDK 9 and will be removed in a future release.


  • 这篇关于java / javaw / javaws之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆