MathGroup Archive 2010

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

Search the Archive

JLink on virtual Linux server: Cannot createKernelLink

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114561] JLink on virtual Linux server: Cannot createKernelLink
  • From: Andrey <andrey.siver at gmail.com>
  • Date: Tue, 7 Dec 2010 07:04:41 -0500 (EST)

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