The project uses Maven for building.
To build jar containing only the project code (without dependencies) use:
mvn clean package
And to build jar file with all dependencies built-in use following command:
mvn clean compile assembly:single
- Download jar from releases for your OS or build it yourself.
- Run with command line:
Note: JOGL requires you to pass certain VM options. So do not delete it, otherwise the program will not work.
java --add-exports java.base/java.lang=ALL-UNNAMED --add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/sun.java2d=ALL-UNNAMED -jar sc-editor.jar
If you have issues with running an application try few next steps.
According to the question, adding --illegal-access=permit
to the VM-Options solves run issues with Java 16:
java --illegal-access=permit -jar sc-editor.jar