Eclipse 0.3
Plain Java project
- File > New > Java Project, JRE 22 or newer.
- Right click the project > Build Path > Add External Archives and pick
goome-0.5.0.jar(where to get it). - Paste the overlay from Getting started in Java into
Main.javain the default package. - Run > Run Configurations > Arguments, put
--enable-native-access=ALL-UNNAMEDin VM arguments, then Run.
On Java 17 or 21 add lwjgl.jar and the lwjgl-natives jar for your OS the same way.
If module-info.java got made, delete it or put requires lines in it yourself. The steps above assume no modules.
Gradle
File > Import > Gradle > Existing Gradle Project works with the build.gradle from Getting started in Java. Running main from the editor still needs the VM argument above.
Debugging
Debug As > Java Application. Breakpoints work in your code, goome itself is C so you cant step into it. Environment variables like GOOME_BACKEND=test go on the Environment tab of the run config (Testing without a screen).