I am trying to get a Java method to work in Mathematica; Mathematica provides suitable access to a JVM through J/Link. Everything is working great for my own Java classes. The problem is that the method I need calls a JNI (.dll file). Outside of Mathematica from the "cmd" line, all works great. But calling the method within Mathematica, the JVM returns the following:
Java::excptn: A Java exception occurred: java.lang.UnsatisfiedLinkError: ncsa.hdf.hdf5lib.H5.H5Fcreate(Ljava/lang/String;III)I
at ncsa.hdf.hdf5lib.H5.H5Fcreate(Native Method)
at ncsa.hdf.object.h5.H5File.createFile(H5File.java:9 20)
at H5FileCreateFromMathematica.H5FileCreate(H5FileCre ateFromMathematica.java:38).
I have spent a lot of time trying to get everything right with the classpath and path environment variables in various permutations. This might still be the problem, though I feel I have worked hard to rule out these possibilities.
Any insights onto (1) what this message from Java means and even better (2) how to fix it would be much appreciated.