Package com.wolfram.jlink
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, useStdLink.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.
-
Constructor Details
-
Install
public Install()
-
-
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
Deprecated.As of J/Link 1.1, useStdLink.getLink()
instead. -
install
-
install
-