Javaw still creates a console window; Why is this?

My game engine is a combination of Jython and Java, so I run jar along with a python script instead of a class.

java -jar Jython.jar init.py

However, when I change "java" to "javaw", it does not hide the console as usual. Why is this a way around this?

+5
source share
1 answer

, JavaConsole java.exe vs javaw.exe. , java.exe stdout stderr, SystemConsole, javaw.exe stdout stderr, SystemConsole. java.exe , SystemConsole. javaw.exe SystemConsole ( script) SystemConsole.

JavaConsole java java .

from the java control panel

from the task bar java icon

+3

All Articles