From: Ersin B. <eb...@wf...> - 2005-05-10 13:34:14
|
Hi Joerg, Thanks for the reply.=20 1. Have you checked the classpath Yes. I have added the following lines to the classpath. I am not sure this is enough to run the examples though.=20 $matlabroot/java/jarext/joelib2.jar $matlabroot/java/jarext/log4j.jar 2. Have you tried a simpler .jar file and did you manage the simpler case? I managed to run ImageJ, a much bigger program successfully from Matlab but haven't tried something simple so far. I will look into this. =20 3. Instead of using JOELib from Matlab you can also use Matlab from=20 JOELib with the JMatLink-JNI-Wrapper. In the tutorial, they mention something about this being more complicated. I haven't tried it, yet.=20 4. Which system, which Matlab version, please ensure that you managed to run a smaller Java-Matlab example. I am running Matlab 7.0.1.24704 (R14) Service Pack 1 Thanks, Ersin =20 =20 -----Original Message----- From: Joerg K. Wegner [mailto:we...@in...]=20 Sent: Tuesday, May 10, 2005 6:53 AM To: Ersin Bayram; JOELib devel Cc: joe...@li... Subject: Re: [Joelib-help] Joelib and Matlab Hi Ersin, 1. Have you checked the classpath 2. Have you tried a simpler .jar file and did you manage the simpler case? 3. Instead of using JOELib from Matlab you can also use Matlab from=20 JOELib with the JMatLink-JNI-Wrapper. 4. Which system, which Matlab version, please ensure that you managed to run a smaller Java-Matlab example. For what do you need this connection? Maybe I can offer some=20 Java-Matlab-JNI examples. Kind regards, Joerg > Hi, >=20 > =20 >=20 > I am trying to run Joelib under Matlab, but failed to run the example > m-files in Joelib matlab toolbox.=20 >=20 > I added joelib2.jar and log4j.jar to the Matlab's jarext directory and > added these to the classpath.txt file. I verified that the JVM I am > running for Matlab is Java 1.4.2_04.=20 >=20 > I am receiving the following error message when I try to run > showmolecules m-file >=20 > =20 >=20 > showmolecules('multiple.mol', 'SDF'); >=20 > ??? Undefined variable "joelib" or class > "joelib.io.IOTypeHolder.instance". >=20 > =20 >=20 > Error in =3D=3D> showmolecules at 36 >=20 > ioHolder=3Djoelib.io.IOTypeHolder.instance; >=20 > =20 >=20 > Any help will be appreciated >=20 > =20 >=20 > Thanks, >=20 > =20 >=20 > Ersin Bayram, Ph.D. >=20 > Wake Forest University School of Medicine >=20 > =20 >=20 > =20 >=20 > =20 >=20 > =20 >=20 > =20 >=20 > =20 >=20 >=20 --=20 Dipl. Chem. Joerg K. Wegner Center of Bioinformatics Tuebingen (ZBIT) Department of Computer Architecture Univ. Tuebingen, Sand 1, D-72076 Tuebingen, Germany Phone: (+49/0) 7071 29 78970 Fax: (+49/0) 7071 29 5091 E-Mail: mailto:we...@in... WWW: http://www-ra.informatik.uni-tuebingen.de -- Never mistake motion for action. (E. Hemingway) Never mistake action for meaningful action. (Hugo Kubinyi,2004) |