I believe it has not been compiled.

On Mar 1, 5:11 am, Anton Shaykin <[email protected]> wrote:
> After successfully setting up classpath using
> set CLASSPATH = C:\Java Programs\Classes
> and putting .class file into that directory I still get an exception
> java.lang.NoClassDefFoundError
> What could be the possible solution?
> Even after typing "set CLASSPATH" I see exactly this directory
> displayed. And I'm positive there's a Hello.class file in it. But
You can confirm it is there at cmd by:
C:\Java Programs\Classes>dir

> every time I type "java Hello" I get the same error.
> Any help?

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to