driven off the jar file compression
How to run a Sikulix.class
?
This is the error I'm getting.
D:test_sikulisikulix>java -cp D:test_sikulisikulixorgsikuliide SikuliIDE Exception in thread "main" java.lang.NoClassDefFoundError: SikuliIDE (wrong name: org/sikuli/ide/SikuliIDE) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
The class you want to run is apparently org.sikuli.ide.SikuliIDE
. You need to set the classpath to the top folder and not to the package folder and use the qualified class name.
D:test_sikulisikulix>java -cp D:test_sikulisikulix org.sikuli.ide.SikuliIDE
链接地址: http://www.djcxy.com/p/38878.html
上一篇: 在hadoop工作
下一篇: 驱动关闭jar文件压缩