-
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
-
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
 Originally Posted by 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
Similar Threads
-
By Mano in forum VB Classic
Replies: 0
Last Post: 02-25-2002, 10:41 PM
-
By KENHOW in forum VB Classic
Replies: 1
Last Post: 07-09-2001, 12:00 PM
-
By sharonc in forum Enterprise
Replies: 2
Last Post: 06-11-2001, 09:54 PM
-
By Philip Morley in forum VB Classic
Replies: 2
Last Post: 02-19-2001, 12:46 AM
-
Replies: 4
Last Post: 07-23-2000, 09:36 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks