Services & Resources / Wolfram Forums / MathGroup Archive
-----

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: Wed, 8 Dec 2010 06:38:59 -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: paclet type documentation / cpu usage w. Help Browser
  • Next by Date: Re: Mathematica on Itanium CPU?
  • Previous by thread: JLink on virtual Linux server: Cannot createKernelLink
  • Next by thread: Re: JLink on virtual Linux server: Cannot createKernelLink