MathGroup Archive 2002

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

Search the Archive

Re: J/Link


Hi Antonio...

I have used J/Link for Mathematica 4.2 under Mac OS X; and Mathematica 4.1
under WinXP

I followed the instructions for installation as per the readme and in the
Addons section of the Help Browser.  I added JLink.jar to my CLASSPATH as
indicated.

I ran the .NBs in the Examples/Part1 folder and they worked as advertised.
A 'lil slow I might add.  But they did work.

In the folder Examples/Part2 (java programs that call on Mathematica
instead), I compiled the SampleProgram.java in there and worked as
advertised.  Make sure you look at the .java file for the the running
instructions for this and all the other samples in this directory.

Hey, I'm with you, lack of documentation, a debugger, and better samples are
needed.  If you at least want to see how J/Link works and try to tease out
what's happening you can look at the JLink/source directory.  As J/Link
makes heavy use of Java's reflection mechanism it should be possible
(Wolfram, are you listening?) possible to make a workable debugger for
J/Link.

As I do a lot more programming and work in the Win environment, for me,
personally, Java-anything is no longer in my scope.  I really want better
COM/ActiveX connectivity to Mathematica so I can at least go in with
C++/COM...and dare I dream C#/COM-interop.


"Antonio" <agm at socrates.berkeley.edu> wrote in message
news:ahr1hp$l4a$1 at smc.vnet.net...
>
> Is anyone here familiar with J/Link, the new and promising (if at the
> moment totally maddening) interface between Mathematica and java? It seems
> few sample programs have been written, there are no debugging features,
> and little real documentation.
>
> If so, I have a number of questions for you...
>
> Thanks,
> Antonio Garcia
> Berkeley Physics (and RAND Corporation, at times...)
>
>
>
>




  • Prev by Date: Re: Inherited Cell Option Values
  • Next by Date: Re: Removing the Context
  • Previous by thread: Re: J/Link
  • Next by thread: Changing default "Printing Settings:Headers & Footers" menu settings?