驱动关闭jar文件压缩
如何运行Sikulix.class
?
这是我得到的错误。
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)
你想要运行的课程显然是org.sikuli.ide.SikuliIDE
。 您需要将类路径设置为顶层文件夹而不是包文件夹,并使用合格的类名称。
D:test_sikulisikulix>java -cp D:test_sikulisikulix org.sikuli.ide.SikuliIDE
链接地址: http://www.djcxy.com/p/38877.html