ramesh tadiparthi

Greenhorn
+ Follow
since May 17, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ramesh tadiparthi

Hi all,

Thanks for the feedback. I checked in the folder where the .java file is there and after compilation the .class file also is in there. But i still get the same error.

In the path variable i have added C:\Program Files\Java\jdk1.5.0_06\bin;
and the CLASSPATH variable is set to C:\Java\jre1.5.0_06\lib\ext\QTJava.zip
.java and .class files are in "jdk1.5.0_06\bin\examples" directory

I am trying to execute in the command prompt from
C:\Program Files\Java\jdk1.5.0_06\bin\examples>
I don't know why I still keep getting this message.
where does the "java" command look for the .class file.
17 years ago
i am trying to execute my first java program.
i have compiled successfully.
i tried to execute with the command "java Test"
it gives me the error message as "java.lang.NoClassDefFoundError: Test"

what is the problem and how can i fix this problem.

thanks in advance.
17 years ago