[Date Index] [Thread Index] [Author Index]
Re: JLink problem, Mathematica 6, OSX, Java SE 6 (64 bit).
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.