www.cs-repository.info
Vinod Tiwari wrote:
Classpath should point to your JDK lib directory. It should be like C:\Program Files\Java\jdk1.6.0_13\lib .
John Eipe wrote: I believe once we set classpath we'll be able to work from anywhere in the computer.
Value: .;C:\Program Files\Java\jdk1.6.0_13\bin;
I believe once we set classpath we'll be able to work from anywhere in the computer.
www.cs-repository.info
www.cs-repository.info
David Newton wrote:Are you putting quotes around the path? There are spaces in the name, so they're required.
www.cs-repository.info
Dave wrote:The *path* should be \bin, that's what determines what executables are available to be run without typing in their full path.
The *classpath* determines what classes and/or jar files are available without specifying them manually--and setting it to "lib" won't have any effect: jar files must be specified individually, while class hierarchy directories just need the directory name.
www.cs-repository.info
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|