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 having 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,
Scott Morrison
Could someone at least confirm for me that it's impossible to use Java
SE6 through JLink?
thanks,
Scott Morrison
On Feb 10, 2:54 am, Scott Morrison <scott.morri...@gmail.com> wrote:
> I'm having a problem withJLinkin Mathematica 6, on OSX 10.5, with JavaSE6
> (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 loadingJLink, 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 having =
some
> mysterious problems in Mathematia 7 (my existing packages randomly hang..=
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.
Hmm -- but the point is that I want Mathematica to use Java6! In
particular, I'd like to be able to profile my Java program while it's
being called from Mathematica.
scott
On Mar 6, 3:38 am, cosmotic <cosmo...@gmail.com> wrote:
> On Feb 10, 5:54 am,ScottMorrison<scott.morri...@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=