Run Time Error
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.........
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.
Thanx for ur responses.........i am done with the prob.
Originally Posted by neer
By Mano in forum VB Classic
Last Post: 02-25-2002, 10:41 PM
By KENHOW in forum VB Classic
Last Post: 07-09-2001, 12:00 PM
By sharonc in forum Enterprise
Last Post: 06-11-2001, 09:54 PM
By Philip Morley in forum VB Classic
Last Post: 02-19-2001, 12:46 AM
Last Post: 07-23-2000, 09:36 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL