so it was created from eclipse. Double click didn't work, a .bat file didn't work (it open cmd and close it immediately), i have updated java RE but nothing change. The only way to run it is to move it to C:\\Users\\user and open cmd and type java -jar xla.jar. I don't want to change any setting of the computer since i have to send it to my friend (this is a group project). Btw i'm on the new Fall Creator Window version.
try
java -cp xla.jar com.package.name.Classname
if you have main method on a specific class.. using a batch file and then run it .. if you cannot run it by double clicking just google and create a exe to run your batch file.
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.