I just finished with J2SE & now into J2EE. I have installed JDK & JRE 1.6, Oracle 10g DataBase and SDK 1.5 which is boundled with Sun Application Server (Grass Fish 2v) JavaDB 10.....
I have set the follow in my classPath in my Environment Variable:
That classpath is seriously messed up. Only individual jar files (like ojdbc14.jar) and directories that contain loose class files should be in it. From the looks of it, I think that none of the directories in there should be in it.
The file you actually need is called j2ee.jar and comes with any JEE application server (like GlassFish). If you're just interested in servlets, then any servlet container (like Tomcat) has the necessary file; it's generally called servlet-api.jar, and in Tomcat's case it's in the TOMCAT_HOME/common/lib directory.
Moving to a more appropriate forum, since the question has nothing to do with ORM.
subject: Can Servlet be compiling on command prompt?