MathGroup Archive 2001

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

Search the Archive

Re: JLink installation w95

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31610] Re: JLink installation w95
  • From: tgayley at wolfram.com (Todd Gayley)
  • Date: Fri, 16 Nov 2001 06:38:18 -0500 (EST)
  • Organization: Wolfram Research, Inc.
  • References: <9t03tf$3no$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Graham,

J/Link is using the JLink.m file from v1.1.2, but the JLink.jar file from an older
version. Search on your system for JLink.jar and JLinkNativeLibrary.dll and delete any
older copies.

People who have had trouble installing J/Link will be happy to know that it will be
pre-installed in the next release of Mathematica, so that it will work "right out of the
box."


--Todd

WRI


On Thu, 15 Nov 2001 10:03:27 +0000 (UTC), cumfyg at aol.com (Cumfyg) wrote:

>I'm trying to get JLink112 working on W95 + jdk13+ Mathematica 4.0.
>
>I get the following output when trying to run Scribble.
>
>1. Eval notebook init. No prob.
>
>2.InstallJava[CommandLine -> "c:\\Program Files\\Java\\jdk1.3\\bin\\java"]---->
>LinkObject["c:\\Program", 2, 2]
>and dos window appears for 5s
>
>3.
>
>In[4]:=
>Scribble[]
>
>SetDelayed::"write": "Tag \!\(Times\) in \!\(\[LeftSkeleton] 1 \
>\[RightSkeleton]\) is Protected."
>
>SetDelayed::"write": "Tag \!\(Times\) in \!\(\[LeftSkeleton] 1 \
>\[RightSkeleton]\) is Protected."
>
>SetDelayed::"write": "Tag \!\(Times\) in \!\(\(\((\(\[LeftSkeleton] 1 \
>\[RightSkeleton]\))\)\)[\(\(\[LeftSkeleton] 1 \[RightSkeleton]\)\)]\) is \
>Protected."
>
>General::"stop": "Further output of \!\(SetDelayed :: \"write\"\) will be \
>suppressed during this calculation."
>
>3*  From In[4]:=
>ToExpression::sntxi: 
>   Incomplete expression; more input is needed.
>
>
>Java::"nometh": "No method named \!\(\"setLayout\"\) defined in class \
>\!\(\"com.wolfram.jlink.MathFrame\"\)."
>
>Java::"excptn": "A Java exception occurred: java.lang.ClassNotFoundException: \
>com.wolfram.jlink.MathCanvas\n\tat \
>java.net.URLClassLoader$1.run(URLClassLoader.java:200)\n\tat \
>java.security.AccessController.doPrivileged(Native Method)\n\tat \
>java.net.URLClassLoader.findClass(URLClassLoader.java:188)\n\tat \
>java.lang.ClassLoader.loadClass(ClassLoader.java:297)\n\tat \
>sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)\n\tat \
>java.lang.ClassLoader.loadClass(ClassLoader.java:253)\n\tat \
>java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)\n\tat \
>java.lang.Class.forName0(Native Method)\n\tat \
>java.lang.Class.forName(Class.java:195)."
>
>LoadClass::"fail": "Java failed to load class \
>\!\(\"com.wolfram.jlink.MathCanvas\"\)."
>
>Java::"nometh": "No method named \!\(\"add\"\) defined in class \
>\!\(\"com.wolfram.jlink.MathFrame\"\)."
>
>Java::"nometh": "No method named \!\(\"setSize\"\) defined in class \
>\!\(\"com.wolfram.jlink.MathFrame\"\)."
>
>General::"stop": "Further output of \!\(Java :: \"nometh\"\) will be \
>suppressed during this calculation."
>
>A java window "Scribble" appears with no contents.
>I know very little about java but am pretty sure I have jdk13 instaled
>correctly.
>I've moved the dll and jar file to the correct places.
>
>Thanks for any pointers/help.
>
>Graham
>
>



  • Prev by Date: No joy using gcc 2.95.3 + MathLink v3r9 + Windows 2000 SP2
  • Next by Date: Re: Zero does not equal zero et al.
  • Previous by thread: JLink installation w95
  • Next by thread: blank plots