Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Component: Java

Execute code in java classes.

You can initialize Java VM with a list of jar files.
Than create objects, call methods, set and query fields.

Version macOS Windows Linux Server iOS SDK
6.5 / 13.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No

Item Details
Java.CallObjectMethod
Calls a method on an object.
Mac/Win/Linux
6.5
Java.CallStaticMethod
Calls a static method on a class.
Mac/Win/Linux
6.5
Java.DefineClass
Defines a class.
Mac/Win/Linux
10.3
Java.FindClass
Checks if a class is available.
Mac/Win/Linux
10.3
Java.GetContainerFileName
Query container file name to use.
Mac/Win/Linux
6.5
Java.GetObjectField
Queries a field on an object.
Mac/Win/Linux
6.5
Java.GetStaticField
Queries a static field on a class.
Mac/Win/Linux
6.5
Java.Initialize
Initializes JavaVM.
Mac/Win/Linux
6.5
Java.Initialized
Checks whether Java VM is initialized.
Mac/Win/Linux
6.5
Java.List
Lists all IDs of java objects.
Mac/Win/Linux
13.0
Java.NewClassObject
Creates a new object and invokes constructor.
Mac/Win/Linux
6.5
Java.ObjectClassName
Queries name of class of an java object.
Mac/Win/Linux
6.5
Java.Release
Releases an object reference.
Mac/Win/Linux
6.5
Java.ReleaseAll
Releases all java objects.
Mac/Win/Linux
6.5
Java.SetContainerFileName
Sets the container file name to use for next containers.
Mac/Win/Linux
6.5
Java.SetObjectField
Sets a field on an object.
Mac/Win/Linux
6.5
Java.SetStaticField
Sets a static field on a class.
Mac/Win/Linux
6.5

17 functions shown.

These functions require a license (71%).

Release notes

  • Version 13.2
    • Fixed a problem which prevents Java.Initialize to initialize on macOS and Linux with current JDK 19.
  • Version 13.0
  • Version 11.3
    • Changed Java.Initialize to not to try to load JavaVM.framework, which results in a crash on Big Sur.
  • Version 10.3
  • Version 10.0
  • Version 9.4
    • Added more array support for Java functions to handle boolean, short, float, double and object arrays.
    • Fixed bug with long array passing in Java functions.
    • Improved Java search for Java.Initialize function on Windows to find jvm.dll.
  • Version 9.3
  • Version 9.2
    • Added support for passing automatically string, int and long arrays to/from our Java functions.
  • Version 8.1
    • Improved Java loading code on Mac to find automatically newest Java version and load it.
    • Improved Java loading code on Windows to find JRE 9.

Blog Entries

Example Databases