问题
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
javaandjavawis thatjavalaunches a new Windows console andjavawdoesn't.on Linux, the
javacommand does not launch a new console, and hence there is no need for ajavawvariant.
来源:https://stackoverflow.com/questions/14331406/why-javaw-is-not-found-on-my-java-installation-on-ubuntu