Search code examples
javaeclipsestatelwjglslick2d

Java StateBased Game - Run outside of eclipse


I have created a game using LWJGL and Slick2d. I tried exporting my game as a runnable JAR, but when I double click the JAR nothing happens. Is there any way to find out why it isn't working or another way to run my program outside of Eclipse? If you need any information (such as code) just ask. Heres what my eclipse workspace looks like:

Workspace Screenshot

My game class file is the startup class, and I did select it as my launch configuration. All help is appreciated, thanks.


Solution

  • I found a video on youtube that worked using jarsplice : https://www.youtube.com/watch?v=K6K2d6LGvu8