日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 >

java语言执行模式,使用java.exe执行静默模式

發(fā)布時(shí)間:2025/3/12 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 java语言执行模式,使用java.exe执行静默模式 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

I would like to know if there is a way to execute the "java.exe" as a background process (silent mode execution)

Ex: java -cp . MyClass arg1

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

解決方案

Under Windows, use javaw.exe instead of java.exe. See here for link, relevant bit copied here:

The javaw command is identical to java, except that with javaw there is no associated console window. Use javaw when you don't want a command prompt window to appear. The javaw launcher will, however, display a dialog box with error information if a launch fails for some reason.

總結(jié)

以上是生活随笔為你收集整理的java语言执行模式,使用java.exe执行静默模式的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。