Mihai Andrei
Mihai Andrei

Reputation: 9

White window when exporting Eclipse project to jar

I exported my project, but when I opened the .jar file it was just a white window. Here are some screenshots with the build path:

Order and Export

Libraries

When I run the game inside Eclipse everythink works fine.

Upvotes: 1

Views: 58

Answers (1)

ArcNub Gamer
ArcNub Gamer

Reputation: 68

Why is there a source folder in libraries, do you use a source folder from a different project or are you adding it just to try and see if it works?

You only said that a white window shows and nothing else happens after, maybe the program was starting to run but failed mid execution. The only way to know the cause is to run it on cmd with the command: java -jar AppName.jar

Upvotes: 1

Related Questions