Remove a Java Object on the Java side
jremove() jremove(varName_1, varName_2, ...) jremove varName_1 varName_2 ... jremove(object_1 , object_2, ...)
A string giving the variable name
A mlist typed _JObj or _JClass.
If no argument are given to jremove, then all the variables are removed on the Java side and garbage collection is called.
Else the corresponding variable is removed on the Java side.
jimport java.lang.String; s = String.new("Hello world"); jremove s; | ![]() | ![]() |
Version | Description |
5.5.0 | Function introduced. Based on the 'JIMS' module. The main difference in the behavior compared to the JIMS module is that jautoUnwrap is enabled by default. |
6.1.0 | This function is optional, as clear or scope closing will now release the associated Java object. |