Problem when I running a java program
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, May 16, 2001 10:39 PM

When I running a java program, for example C:java hello put the following error: Exception in thread "main" java.lang.NoClassDefFoundError: hello
My OS is Windows 2000 profetional
Thank you for you help!

Re: Problem when I running a java program

Posted By:   Alex_Chaffee  
Posted On:   Monday, May 21, 2001 12:52 PM

Not a threads question. Search the JavaLanguage FAQ for information on basic Java programming.

Re: Problem when I running a java program

Posted By:   Christopher_Schultz  
Posted On:   Thursday, May 17, 2001 09:44 AM

This is not a question about Threads. Please post to the appropriate forum next time.



Try being explicit about the classpath:



C:> java -classpath . hello



(This assumes that hello.class is in c:).



-chris
About | Sitemap | Contact