Folks,
My application is to get Mathematica to link to Java and read some HDF5 files.
(Anyone else out there using Mathematica successfully already with the H5
routines --- if so, please send secrets?)
I get the error below when calling the Java method from Mathematica. Can anyone
inform me what file is not being found? I think this has something to do with
classpath or path, so it would be helpful if someone could inform me what is
not being found, and then I can try to instruct Mathematica how to find it.
Note that from command line ("cmd") I have my java H5 method working, which is
the reason I suspect the Mathematica/Java interface as opposed to my java
method. Also note that Mathematica reports to me that it has
"c:\MyJava\hdf-java\lib\*" on its classpath.
Java::excptn: A Java exception occurred: java.lang.NoClassDefFoundError:
ncsa/hdf/object/FileFormat
at H5FileCreateFromMathematica.H5FileCreate(H5FileCreateFromMathematica.java:24)
Caused by: java.lang.ClassNotFoundException: ncsa.hdf.object.FileFormat
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 11 more.
Thanks in advance from the experts out there!
Scot Martin
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org