try to set classpath, and if the program is coded as packages, run it as package_name.main_class_name.
put
s*h
2 楼
Should be Classpath, not Path. And also you can check the documentation of your Netbeans, it might have special requirement or format for setting up classpath, e.g. configuration files, options in command lines, and so on.
c:\LauJava然 and java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) java.net.URLClassLoader.defineClass(URLClassLoader.java:251) sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)