Java runtime environment for FGL
Software requirements when using the Java Interface
In order to use the Java Interface in your application programs, you need the Java software installed and properly configured.
- Install a Java Development Kit on development sites (if you need to compile your own Java classes)
- Install a Java Runtime Environment on production sites (on the server where your programs are running)
The Java classes defined by Genero (com.fourjs.fgl.lang.*
) are compiled with
javac -source 1.6 -target 1.6
options. Therefore, the minimum theoretical version
is Java SE 6. However, depending on the platform, the minimum required Java version may be greater
than version 6.
For a detailed list of supported JVMs, refer to the Supported platforms and databases document, available on the Products download page of the Four Js Web site.
java --version
In order to execute Java byte code, the Genero runtime system uses the JNI interface. The JVM is loaded as a shared library and its binary format must match the binary format of the Genero runtime system. For example, a 64-bit Genero package requires a 64-bit JVM.
When implementing Java classes for Genero Mobile for Android (GMA), check the JDK version required by the Android SDK. For more information, see the Android Studio web site.