Hi, I am getting NoClassDefFoundError whilr running the program. I am able to compile it without an error. I am using jdk 1.2.2 version. I have added the folder where my file is - in the classpath. Also I have jdk1.2.2 foler & jdk1.2.2\jre\lib\rt.jar in the classpath. can anybody help me?? Thanks vety much! Anuja
Compiling only requires that the path parameter be correct. Your error looks like the classpath is not correct. What class is not found? Where does that class currently sit? What is your classpath? What directory were you in when you executed the app? The classes must sit in a directory named in the classpath. If you put a dot reference in the classpath then the "current" directory (the one that you are sitting in when you call java) will be included.
"JavaRanch, where the deer and the Certified play" - David O'Meara