Using Java Exe executes silent mode

I wonder if there is a way to execute "Java. Exe" as a background process (in silent mode)

For example: Java - CP. MyClass arg1

I want to use the above statement as a background process without opening a command window

Solution

Under windows, use javaw Exe instead of Java exe. See the link here, where the relevant bits are copied:

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
分享
二维码
< <上一篇
下一篇>>