UseJVM[jvm, body]
acts like a wrapper that causes all J/Link calls in body to use the specified JVM as the default Java runtime.


  • To use UseJVM, you first need to load J/Link using Needs["JLink`"].
  • UseJVM will only be used by advanced programmers who want to have more than one Java runtime installed into Mathematica.
New to Mathematica? Find your learning path »
Have a question? Ask support »