MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

JLink on virtual Linux server: Cannot createKernelLink


Hello,

I met a problem with JLink. The following code from the example do not
open the link:

KernelLink ml = MathLinkFactory.createKernelLink("-linkmode launch -
linkname 'math -mathlink'");

The result: MathLinkException occurred: Connected MathLink program has
closed the link, but there might still be data underway.

This code works ok:
ml = MathLinkFactory.createKernelLink(argv);
but I cannot (via some reasons) pass the following command line data:
java -classpath .:../../JLink.jar SampleProgram -linkmode launch -
linkname 'math -mathlink'

Can anybody help or suggest something?

Regards,

-Andrey


  • Prev by Date: Re: Counting number of numbers in a large list between two valus
  • Next by Date: Re: Changing Graph style
  • Previous by thread: is there a list of all special aliases to input special chars?
  • Next by thread: JLink on virtual Linux server: Cannot createKernelLink