简体   繁体   中英

eclipse - export runnable jar file not working, running works

I made a game with libGDX 1-2 years ago, I can run it from eclipse and it works. When I want to export the jar file, I go to export - runnable jar file - Here I select package required libraries, and export it.

When I open the jar file nothing will happen. 在此处输入图片说明

If your libGDX uses Gradle, all you need to do is run gradlew dist in the desktop folder of your project. More Information

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