Runnable jar file generated by Eclipse wont execute?

前端 未结 3 1227
长发绾君心
长发绾君心 2020-12-18 10:45

I generated a very simple runnable jar file using Eclipse\'s \"Export-->Java-->Runnable Jar File\" function. My HelloWorld class looks like this:

import ja         


        
3条回答
  •  眼角桃花
    2020-12-18 11:06

    Uninstalling all older java versions on my machine fixed the issue for me.

    At my end I was able to run the .jar file with the command line, but not with the default double-click option. Afterwards the latter was working again

提交回复
热议问题