Re: JLink problem, Mathematica 6, OSX, Java SE 6 (64 bit).
- To: mathgroup at smc.vnet.net
- Subject: [mg97299] Re: JLink problem, Mathematica 6, OSX, Java SE 6 (64 bit).
- From: Scott Morrison <scott.morrison at gmail.com>
- Date: Tue, 10 Mar 2009 05:36:09 -0500 (EST)
- References: <email@example.com> <firstname.lastname@example.org>
I've just been told by someone at Wolfram that as of version 7.0.1, java6 on OS X works. On Mar 6, 3:38 am, cosmotic <cosmo... at gmail.com> wrote: > On Feb 10, 5:54 am,ScottMorrison<scott.morri... at gmail.com> wrote: > > > > > I'm having a problem with JLink in Mathematica 6, on OSX 10.5, with Jav= a = > SE 6 > > (64 bit). In particular, I get error messages > > > LinkConnect::linkc: > > Unable to connect to LinkObject['/Applications/Mathema<<92>>/ > > m0000011741", > > <<2>>]. > > InstallJava::fail: A link to the Java runtime could not be > > established. > > > when first loading JLink, and later running InstallJava results in > > > LinkOpen::linke: Error 19 > > InstallJava::launch: The Java runtime could not be launched. > > > Going to Java preferences, I can switch back to J2SE 5.0 (32 bit) (but > > not 64 bit), after which the problems go away. For performance > > reasons, I'd really prefer to be able to use a 64 bit runtime. Does > > anyone know of a fix for this problem? > > > I don't have the same problem with Mathematica 7, but for now I'm havin= g = > some > > mysterious problems in Mathematia 7 (my existing packages randomly hang= ..= > .?) > > that I'd like to be able to switch back for a while. > > > thanks, > >ScottMorrison > > Open the Info.plist in Mathematica.app/SystemFiles/Links/JLink/ > JLink.app. Edit the Root/Java/JVMVersion, I changed mine to '1.5'. I > can keep the system at Java6 64bit and Mathematica still works using > the old version. > > Looks like 6.0.3 might fix the problem with Java6.