Closed AdamSloan95 closed 4 months ago
Shade allows the maven to package all the needed dependencies - including LWJGL ones so it can build properly. If you look at the pom.xml for the project under plugins - shade.
cd "Whereever your main directory is"
then
mvn clean package
java -jar target/Game-0.0.1-SNAPSHOT.jar
or on mac:
java -XstartOnFirstThread -jar target/GameEngine-1.0-SNAPSHOT.jar
When I tried to run the .jar from the terminal I found a lot of errors thrown due to dependencies - although the jar did seem to build without errors.