dcsimg
can't find class
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   shanti_srinivasan
Posted On:   Thursday, May 31, 2001 09:23 PM

Hi Everybody,
I am new to Java.I written a small program.I am able to compile successfully without any error.But when I run the program using 'java' interpreter,I'm getting the following error:
"can't find class [filename]"
Can anybody guide me to solve this problem.

Thanks in advance,
shanti

Re: can't find class

Posted By:   Luigi_Viggiano  
Posted On:   Friday, June 1, 2001 12:51 AM

Easy: your class is not in CLASSPATH.
At command line type:
SET CLASSPATH=.;%CLASSPATH%
to add working dir to VM class search path.
About | Sitemap | Contact