且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么在ubuntu上的java安装上找不到javaw?

更新时间:2023-11-17 20:49:58

javaw 实用程序不可用或需要在Linux上。只需使用 java

The javaw utility is not available or needed on Linux. Just use java instead.

说明:

Explanation:


  • 在Windows上, java javaw java 启动新的Windows控制台而 javaw 则没有。

  • on Windows, the difference between java and javaw is that java launches a new Windows console and javaw doesn't.

在Linux上, java 命令没有启动新的控制台,因此没有必要对于 javaw 变体。

on Linux, the java command does not launch a new console, and hence there is no need for a javaw variant.