|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
sun suggests setting your class path by using your SDK "tool" (for example):
java -c <classpath> Use the SDK file structure to help you make your decision: http://java.sun.com/j2se/1.3/docs/t...2/jdkfiles.html |
|
#3
|
|||
|
|||
why don't you listen to all of them, and set CLASSPATH to all those paths. You can divide them with ";" symbol like CLASSPATH=c:\jdk\lib;.;c:\widows;c:\gamesyou may have as many as you need ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Is I set classpath correct |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|