Java 15+ required.
First of all, download the following libraries:
- JOGL
- Native libraries for your OS
- gluegen-rt-natives-[...].jar
- jogl-all-natives-[...].jar
- Default libraries
- gluegen-rt.jar
- jogl-all.jar
- Native libraries for your OS
- FlatLaf
Then, add the libraries and resources to project modules to include it into the build.
In JetBrains IDEA:
- Project Structure -> Global/Project Libraries.
- Click Java and select downloaded jar files.
- Go into Project Structure -> Modules, select your module.
- Add library in module dependencies and apply.
- Go into Sources tab and mark resources folder as Resources to include it into the build.
Done!
- Download jar from releases for your OS or build it yourself.
- Run with command line:
java -jar sc-editor.jar
P.s:
According to the question,
just add --illegal-access=permit
to the VM-Options to run the editor with Java 16+:
java --illegal-access=permit -jar sc-editor.jar