A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Can anybody help me?
Joined: Nov 28, 2004
Jun 01, 2005 06:06:00
I installed jdk1.5 and i set classpath and path also.If i run a sample program , following exception occured.Can any body suggest me,why this exception is coming?
Exception in thread "main" java.lang.NoClassDefFoundError: Example
Joined: Mar 17, 2005
Jun 01, 2005 06:48:00
Try to add .(dot) to classpath variable.
Joined: Feb 18, 2002
Jun 01, 2005 12:49:00
In Wintel command prompt, type
in UNIX prompt, type
to make sure your classpath is setup correctly.
Or as suggested by Roman type
-cp . classname
[ June 01, 2005: Message edited by: Sumit Sadana ]
SCJP 1.2, SCJP 1.4, SCJA, SCWCD 1.4<br /> <br />------------------------------<br />
rocket mass heater
subject: Can anybody help me?
Cannot find symbol :Class Dog
Exceptions & overriding?
Remote EJB URL Issue
How to solve the Invacation Target Exception In Tomcat
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014