Class 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 Detail

      • Install

        public Install()
    • Method Detail

      • 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 -
      • install

        public static boolean install​(MathLink ml)
      • install

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