Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
1 answer
5k views

I can not start a .jar-file by double-clicking, only from command-line in Windows

I have a Java application in a .jar-file. I can start it by typing java -jar myapp.jar and the application starts, but if I double-click on the .jar-file, nothing happens. What can be wrong? How can I ...
Jonas's user avatar
  • 27.9k