简体   繁体   中英

How to run a jar file on the usb

我有一个 USB 应用程序,其类文件位于 USB 上。当我在 USB 上为该应用程序创建一个 jar 文件时,但我无法通过 jarfile 运行该应用程序,但是在使用命令提示符时,我能够运行该应用程序.我认为问题在于我正在创建的 manifest.txt(位于 USB 驱动器上)文件,所以请如果有人可以帮助我应该如何在清单文件中提供相对路径,因为我正在制作的应用程序是USB应用程序。

It's currently inpossible to do this on your compueter since windows 7. You can run automatically the jar or exe file when the usb got plugged.

Justin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM