If a problem occurs in the compilation phase, make sure your java compiler is correctly set up and that your classpath includes the cplex.jar file.
If compilation is successful and the problem occurs when executing your application, there are three likely causes: