Exception in thread "main" java.lang.UnsatisfiedLinkError:
no nativemcl76 in java.library.path
at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at
com.mathworks.toolbox.javabuilder.MWMCR.<clinit>(MWMCR.java:25)
at
com.mathworks.toolbox.javabuilder.MWUtil.GetUnknownClassID(MWUtil.java:1566)
at
com.mathworks.toolbox.javabuilder.MWClassID.<clinit>(MWClassID.java:26)
at getmagic.main(getmagic.java:34)
could you help me please?
tks
federico
Is this on your system with MATLAB, MATLAB Compiler, and Builder for
Java or on a target system that just has the MCR installed?
You can verify that the MCR works correctly by compiling a simple
function to an executable (using mcc -m) and then attempt to run that
executable from your DOS prompt. If that doesn't work correctly then
you can resolve that first and then attempt your Java example again.
Mark