Run Time Error
hi
i have prob in running my java program......
it gets compiled and generates class file......but when i give the command for execution it says
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp
plz help me.......
neer
[261 byte] By [
neer] at [2007-11-11 7:05:29]

# 1 Re: Run Time Error
Looks like the java program is not finding your program/class file. The program needs to be on the classpath or in the same directory as you issure the java command.
What directory is the .class file in? Is it the same directory where you issued the java command?
If you have problems Please copy and paste the commandline and the error message here.
Norm at 2007-11-11 22:39:29 >

# 2 Re: Run Time Error
Please paste the full error message.As Norm says, the classpath is not set properly.
The classpath for the servlet.jar as well as for the java.exe should be set to work.
Thanks
G.Rajasekhar
# 3 Re: Run Time Error
Hi everybody........
Thanx for ur responses.......i am done with the prob.
neer
hi
i have prob in running my java program......
it gets compiled and generates class file......but when i give the command for execution it says
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp
plz help me.......
neer
neer at 2007-11-11 22:41:22 >
