MathGroup Archive 2009

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

Search the Archive

Connecting JLink from Linux to a Mac kernel

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105546] Connecting JLink from Linux to a Mac kernel
  • From: braver <deliverable at gmail.com>
  • Date: Tue, 8 Dec 2009 06:44:03 -0500 (EST)

Greetings -- I'm using Clojuratica, a Clojure library to interface
with Mathematica via JLink.  I run Clojure and JLink on a huge Linux
server, doing data mining, and want to visualize the results on the
Mac.

There're a few problems right now.  First of all, I need the correct
options for both the kernel and JLink to connect the two.  I found an
instructive message here:

http://forums.wolfram.com/mathgroup/archive/2006/Jul/msg00724.html

-- it differs from my setup in that the kernel is actually on the
Mac.  The Mac is a laptop and I'd like *it* to connect to Linux, which
has a fixed IP, so Linux would listen.  Which options should I give to
JLink in a Java (Clojure) program to listen?  Also, which port will it
listen on -- I'm behind a firewall, too, so the port will either have
to be open, or the ssh tunneling enabled per above.

Another difference with the mentioned message is, I create the JLink
object from the Linux side, a Clojure REPL, when I need it.  I can
establish ssh tunneling in advance, or open a port in the firewall.
What would the "launch command" then be?

Secondly, the JLink 3.1.2 I installed on Linux would not work with a
64-bit Java I have there.  It will work with a 32-bit Java, but that
cannot use the large RAM and thus defeats the purpose of the whole
setup.  From googling I see there're many problems with running JLink
under 64-bit Java and no solutions.  Are there any now?

Cheers,
Alexy


  • Prev by Date: BarChart3D Coloring Problem
  • Next by Date: Re: Rectangle and Circle
  • Previous by thread: Re: BarChart3D Coloring Problem
  • Next by thread: Re: Rectangle and Circle