I have compiled my jar file using jar cmf manifest.mf SysInfo.jar *.class
and got no errors, but when I try to execute the file by clicking on it nothing happens. I don't even get an error pop up. But when I run the jar using the console it will execute perfectly.
What can I do to make the file run by clicking it?
Try starting it via console using
java -jar yourFile.jar
Don't forget to cd in the directory your .jar file is located before you do this.
EDIT: Sorry, you already said it works like that. Try right click open with.. and then choose open with javaw.exe If that also doens't work you need to provide more information.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments