Exception in thread "main" java.lang.NoClassDefFoundError: makesqr/Class1 at getmagic.main(getmagic.java:44) at runtime in LINUX.
Mostrar comentarios más antiguos
i have created JAVA_PACKAGE from MAT LAB and integrate it in Java program. on windows it is running perfectly but when i tried to run it on another system with Ubuntu OS it is giving bellow error at runtime ..
{arcadian@arcadian-desktop:~/makesqr/for_testing$ java -classpath .:"/home/arcadian/Documents/MATLAB_Runtime_Install/v85/toolbox/javabuilder/jar/javabuilder.jar":.\makesqr.jar getmagic 5
finnaly:
Exception in thread "main" java.lang.NoClassDefFoundError: makesqr/Class1
at getmagic.main(getmagic.java:44)
Caused by: java.lang.ClassNotFoundException: makesqr.Class1
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more
}
Please provide any posible suggestion.
Respuestas (0)
Categorías
Más información sobre Java Package Integration en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!