MathGroup Archive 2009

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

Search the Archive

Re: Re: JLink broken on Snow Leopard

  • To: mathgroup at
  • Subject: [mg104295] Re: [mg104211] Re: JLink broken on Snow Leopard
  • From: George Woodrow III <georgevw3 at>
  • Date: Sun, 25 Oct 2009 23:26:31 -0500 (EST)
  • References: <hbmnsh$jjv$> <>

I am using a similar setup to you, except that the computer I tested  
with is an iMac.

I had one freeze when trying to access Mathematica > About Mathematica  
 > System Information.

However, after a force quit, I could not reproduce the problem, nor  
would it appear on my macBook Pro.

I have seen no problem trying to open notebooks at all.

I saw a problem or two right after installing Snow Leopard, but after  
starting Mathematica with the option key held down, the weirdness went  
away -- except with the sole instance of the problem you report as  
noted above.

I had a similar issue with the beta 4 for Workbench, but re-insalling  
the app fixed that problem. The error messages pointed to a Java  

I have no doubt that there is something going on -- probably with the  
Java libraries -- and I am hoping that the upcoming 10.6.2 update will  
resolve many of them. (I see on other geeky mac forums that there are  
issues with Java under Snow Leopard, but I don't recall the details.)  
If this does not fix the problem, perhaps Wolfram will figure out what  
is going on and issue a patch.


On Oct 24, 2009, at 2:37 AM, Fred Klingener wrote:

> On Oct 21, 6:30 am, keven <keven... at> wrote:
>> Hi,
>> I have written an app that connects to Mathematica kernel via JLink.
>> The app no longer worked after I upgraded to Snow Leopard.  Running
>> the JLink SampleProgram returns following error:
>> Fatal error: cannot find the required native library named
>> JLinkNativeLibrary.
> ...
> I've had persistent problems with Mathematica 7.0.1 since I installed
> Snow Leopard, and they present in several ways that strongly suggest a
> problem with Java.
> 1.) The simplest manifestation is seen by opening Mathematica,
> clicking Mathematica > About Mathematica > System Information.
>    a.) If my MacBook Pro is connected to the internet, the query
> times out in two stages. First, "The kernel is not responding...",
> then "One or more dynamic objects..."
>    b.) If I disconnect from the internet, the System Information
> panels appear correctly.
> 2.) The internet dependence is mirrored in entries from a MathKernel
> console.
>     a.) Connected to the internet, I get
>        In[1]:= <<Jlink`
>       In[2]:= InstallJava[]
>       Intentionally suppressing recursive invocation exception!
>       java.lang.IllegalStateException: recursive invocation
> 	at java.lang.ClassLoader.initSystemClassLoader(
> 	at java.lang.ClassLoader.getSystemClassLoader(
>       ...
>     b.) Disconnected from the internet, I get
>       In[4]:= <<JLink`
>       In[5]:= InstallJava[]
>      Out[5]= LinkObject['/Applications/
> SystemFiles/Links/JLi\
>        nk/' -init\
>        "/tmp/m00000119351", 1, 1]
>     Executions of those two commands from the front end appear to
> proceed successfully, independent of the state of the internet
> connection.
> 3.) In attempting normal use of Mathematica, opening notebooks created
> under Leopard often but not always leads to a hang ("not
> responding...) that can be cleared only by Force Quit. Such notebooks
> can often be successfully rebuilt with Import[filename.nb,
> "NotebookObject"]. An attempt to load JLink User Guide, for example,
> ends in Force Quit.
> Changing the Mathematica mode between 32 and 64-bit has no detectable
> effect.
> I've been corresponding with Mathematica Service about this, but we
> haven't been able to pinpoint the crux. Any new ideas here?
> Mathematica 7.0.1
> MacBook Pro 2.6 GHz Core 2 Duo
> OSX 10.6.1 (Snow Leopard)
> TIA,
> Fred Klingener

  • Prev by Date: Re: Mathematica7 doesn't copy/paste metafile in vector format
  • Next by Date: RE: How to make table of contents, back-of-the-book index in Mathematica?
  • Previous by thread: Re: JLink broken on Snow Leopard
  • Next by thread: Re: options for VectorPlot in version 7 vs VectorFieldPlot in version