From: Joerg K. W. <we...@in...> - 2005-05-10 10:52:48
|
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 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 Java-Matlab-JNI examples. Kind regards, Joerg > Hi, > > > > I am trying to run Joelib under Matlab, but failed to run the example > m-files in Joelib matlab toolbox. > > 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. > > I am receiving the following error message when I try to run > showmolecules m-file > > > > showmolecules('multiple.mol', 'SDF'); > > ??? Undefined variable "joelib" or class > "joelib.io.IOTypeHolder.instance". > > > > Error in ==> showmolecules at 36 > > ioHolder=joelib.io.IOTypeHolder.instance; > > > > Any help will be appreciated > > > > Thanks, > > > > Ersin Bayram, Ph.D. > > Wake Forest University School of Medicine > > > > > > > > > > > > > > -- 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) |