Javaw still creates a console window; Why?

See English answer > start a java program without the console6

java -jar Jython.jar init.py

However, when I change "Java" to "javaw", it does not hide the console as usual Why? Is there a way to solve it?

Solution

I don't think javaconsole is Java exe vs javaw. Exe functions The difference is Java Exe has stdout & stderr written to systemconsole and javaw Exe runs without stdout and stderr written to systemconsole Run Java Exe will be blocked because it connects to systemconsole.exe Run javaw Exe returns control back to starting systemconsole (or script) and continuing without using systemconsole

Disable javaconsole using the Java icon on the Java control panel or taskbar

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>