Joined: 11 Nov 2010
|Posted: Thu Nov 11, 2010 3:19 am Post subject: Window 7 64 Bit Class not found error for students
|Download and install the normal jdk not the 64 bit one. Once you have done so bring up your command prompt and type in java -version. If it gives you information then JDK is fine. Now text pad. Download Textpad and install. You should be able to compile your java app but not run it. You will get an error class not found or defined. This is where you got to system and then advance system setting and set your user defined class path and normal path which should be
path C:\Program Files (x86)\Java\jdk1.6.0_22\bin
Class Path C:\Program Files (x86)\Java\jdk1.6.0_22\lib
Now for system variables you have to had this exact path if you did a normal jdk install.
.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
The first two symbols are very important the "." and the ";"