Joy Online Manual
NAME |
Java - Provides some functions to interface with the Java runtime |
DESCRIPTION |
Java is a top-level, predefined JavaScript object. You can automatically access it without using a constructor, but only when Java support has been enabled in the current interpreter.
To actively enable Java support (creating a virtual machine if necessary) in a Joy interpreter, evaluate the command [self enableJavaSupport] in its global scope. Joy includes a preference setting to automatically enable Java support in all interpreters when they are initialized (greedy option), or after a Java virtual machine is created (lazy option, the default). |
METHODS |
toJava - force conversion from Objective-C object to Java object toObjC - force conversion from Java object to Objective-C object |
Index |