Skip to content

Java Platform, Micro Edition (Java ME)

Kai Burjack edited this page Sep 14, 2021 · 25 revisions

Although JOML was originally designed to support LWJGL and JOGL users on recent Java SE environments, it can also be run in a Java Platform, Micro Edition (Java ME) environment. For this, the separate jdk3 build variant can be used.

Even though the main build of JOML runs on any Java 1.2 environment, it contains references to Java 1.4 and later classes which are loaded conditionally during runtime if available. This can become a problem with method overload resolution during development when using a Java 1.3 SDK bootclasspath which does not feature the Java NIO classes. For this reason, the separate jdk3 build variant is available which erases all Java 1.4 and later features from JOML.

When managing dependencies via a build tool that supports Maven repositories, then the coordinates for a JavaME-ready build of JOML are org.joml:joml-jdk3:1.10.1, available via the Maven Central.

When instead building JOML from source via Maven, the build variant can be enabled via: mvn package -Djdk3.

Clone this wiki locally