JavaTerminate: Terminates the Java Virtual Machine

Description Usage Details Value Author(s) References See Also Examples

Description

Unloads the Java Virtual Machine, releasing its resources and terminating the Omegahat session. Once the JVM is terminated, it cannot be restarted within this R session.

Usage

1

Details

This just calls the internal routine which notifies the JVM that it should terminate. Exactly how this action is performed depends on the current state of the JVM and the threads that are active.

Value

TRUE indicating that the JVM is terminated and should not be used.

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/RSJava

See Also

.JavaInit

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
   # active the JVM only to find out what
   # version of Java it supports. 
   # No further activity can take place in the 
   # Java session.
   #
 .JavaInit()
 jversion <- .Java("System", "getProperty", "java.version")
 .JavaTerminate()

## End(Not run)

SJava documentation built on Oct. 5, 2016, 4:17 a.m.

Related to JavaTerminate in SJava...