Implement Java user extensions in GMA
A GMA app can execute custom Java code.
JDK 17 is required to build Androidâ„¢ apps. For the latest information regarding system requirements and Java support, please refer to the Supported platforms and databases document, available on the "Products" download page of the Four Js Web site.
In order to execute Java user code on the mobile device, the compiled Java classes
need to be available to the Genero runtime system. They can then be imported with the IMPORT
JAVA classname
instruction.
When executing the Genero program on a computer in development mode, define the CLASSPATH to your .jar files. This allows the JVM loaded by the Genero runtime system find the appropriate Java classes.
When executing the Genero program on a mobile device, the compiled user Java classes must be included in the mobile app Android package (.apk), which is created in the Genero Studio deployment procedure.