If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Exception in thread "main" java.lang.NoClassDefFoundError: MyApp

hi all,

I'm getting the mentioned error while trying to run my app. I'm using TextPad to compile and run my app. i have also try to run from command prompt but it shows same error. I have checked my jdk bin dir and jre bin dir. Both of them are the correct path. where did I go wrong?

set " . " in classpath

hello friend,

this problem "class not found " boz of u save your class in this folder you run in same folder,or in your classpath u not use ". ",
for example set your classpath like this:
c:\rahul>set classpath=%classpath%;.
see i wrote " ." in the end of classpath.
"." means current folder included that means classes are also find in current folder.
--diwakar