Read post #4: the classpath must be properly set to compile and to run. I do not use Netbeans, but adding libraries under a "Compile Tab" indicates you are doing the former, but not the latter....
Type: Posts; User: copeg
Read post #4: the classpath must be properly set to compile and to run. I do not use Netbeans, but adding libraries under a "Compile Tab" indicates you are doing the former, but not the latter....
The libraries must on the classpath to both compile and run. If you are getting an exception at runtime, as the exception above indicates, then the problem is with the classpath when running (JVM)...
Make sure any 3rd party libraries your application requires are on the classpath when you run your jar