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
Printable View
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
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.
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
Hi everybody..........
Thanx for ur responses.........i am done with the prob.
neer
Quote:
Originally Posted by neer