Cannot export default Java libGDX project as a jar from Eclipse
问题 When I export the default libgdx project as a runnable JAR file from eclipse and then run the .jar file, it simply pops up a black screen and then closes. When I run the project code from inside Eclispe, it works fine. The correct red screen with the "bad logic" logo is displayed by the program (this is what is supposed to happen). If I build the project from the command line using gradle with the command gradlew desktop:dist as instructed here and then run the jar that is created, it will