I'm trying to compile on the command line using the opencv-300.jar file. It compiles fine, but once trying to run the program it begins to throw ClassNotFoundExceptions. The command I'm using is the following: javac -cp opencv-300.jar Program.java, etc.. Is there something incorrect in the way I've linked the jar file for OpenCV? I used Netbeans to write the program, and included the .jar in libraries no problem. I'm running Windows 8 if that makes any difference.
Edit: Running java "-Djava.library.path=". -jar opencv-300.jar returns the following error: no main manifest attribute, in opencv-300.jar
↧