Class Install

java.lang.Object
com.wolfram.jlink.Install

public class Install
extends java.lang.Object
Install is the class that has the main entry point when Java is launched from Mathematica via InstallJava[]. It sets up definitions in Mathematica for calls into Java and starts up the Reader thread, which waits for calls arriving from Mathematica. It has only one method of interest to users, getStdLink(), which has been deprecated.
  • Constructor Summary

    Constructors 
    Constructor Description
    Install()  
  • Method Summary

    Modifier and Type Method Description
    static KernelLink getStdLink()
    Deprecated.
    As of J/Link 1.1, use StdLink.getLink() instead.
    static boolean install​(MathLink ml)  
    static boolean install​(MathLink ml, int timeout)  
    static void main​(java.lang.String[] args)
    This is the entry point called by the Mathematica function InstallJava.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • main

      public static void main​(java.lang.String[] args)
      This is the entry point called by the Mathematica function InstallJava. Users will not call this unless they are trying to manually establish a link between Java and Mathematica, instead of using the default launch behavior of InstallJava. For example, here is how you could establish a link using listen/connect modes. You might do this if you wanted to launch the Java runtime inside a debugger such as the one provided in your Java development environment:
       On the command line, or in your Java development environment:
           java com.wolfram.jlink.Install -linkname 1234 -linkmode listen
      
       Then in Mathematica:
           InstallJava[LinkConnect["1234"]]
      Parameters:
      args -
    • getStdLink

      public static KernelLink getStdLink()
      Deprecated.
      As of J/Link 1.1, use StdLink.getLink() instead.
    • install

      public static boolean install​(MathLink ml)
    • install

      public static boolean install​(MathLink ml, int timeout)