
June 22nd, 2002, 03:14 PM
|
|
Contributing User
|
|
Join Date: Aug 2001
Posts: 181
Time spent in forums: 2 h 7 m 31 sec
Reputation Power: 12
|
|
|
Is I set classpath correct
I'm read Installation Note jdk 1.4 for win in sun website. but it not explain about classpath.
I'm install classpath on windows.
Some book suggess to set classpath to c:\jdk1.4\jre\lib; (Is it true ?)
Some book suggess to set to directory that compile java code such as c:\javaprogram;
When I not set classpath when use javac. I got message class not found
and when I set classpath only classpath=.; It work.
Why each book tell me different to set classpath.
What really classpath should I set? Is it sufficient to set classpath=.;
Thanks.
|