This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)


launches the Java runtime and prepares it to be used from Mathematica.
  • To use InstallJava, you first need to load J/Link using Needs["JLink`"].
  • Only one Java runtime is ever launched; subsequent calls to InstallJava after the first have no effect.
  • The following options can be given:
ClassPathAutomaticuse the specified directories and .jar files
CommandLineAutomaticspecify a command line to launch the JVM