Why javaw is not found on my java installation on ubuntu? [closed]

岁酱吖の 提交于 2019-12-09 02:27:49

问题


I tried to start a program using javaw demo and I was prompted with an error message saying that command 'javaw' is not found. I checked my bin folder and javaw was not found. What could be the reason?


回答1:


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

Explanation:

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

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



来源:https://stackoverflow.com/questions/14331406/why-javaw-is-not-found-on-my-java-installation-on-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!