ClassDefNotFound Exception
This error is usually caused by not setting the classpath environment variable correctly, or using the java.exe program incorrectly. Use java [class name] instead of java [class name.class] usually fixes the problem.
unresolved external symbol __imp__wglCreateContext@4
Be sure to add opengl32.lib in Project->Settings->Link-> Object/Libraries Link Modules.