Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  

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.

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.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.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

14 functions.

Release notes

  • 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.
  • Version 7.5

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins