Computing.Net > Forums > Programming > path and classpath

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

path and classpath

Reply to Message Icon

Name: xp
Date: February 17, 2007 at 11:15:25 Pacific
OS: xp
CPU/Ram: 930/512
Product: dell/don't know
Comment:

I want to use jdk. Need to set path and classpath. Don’t know anything about it. I can go to “start>control panel>system>advanced>environment variables”. Upper window is user variables for dell. Lower window is system variables. In lower window I can see path that is “C:\WINDOWS\sysem32;C:\WINDOWS;C:WINDOWS\system32\WBEM”. I installed jdk1.5 at “C:\” but can’t use it yet. Answer as easy as possible. Answer what should write where should I write. Using xp.



adnan



Sponsored Link
Ads by Google

Response Number 1
Name: Guy
Date: February 17, 2007 at 17:35:46 Pacific
Reply:

For PATH, edit the setting in the lower window, and add, for example:

C:\jdk1.5.0_11\bin;

at the very beginning of what is there. Make sure that name matches your install directory.

I am in the camp that believes a system wide CLASSPATH is not good practice.

Each Java app should set up the required CLASSPATH before the Java program is executed.

All of the base Java library functions are available with no explicit CLASSPATH set.

Guy


0

Response Number 2
Name: xp
Date: February 19, 2007 at 06:23:40 Pacific
Reply:

Guy i've written up there my path please write my path according to that information i've given up there it will be easier for me to understand and thanks a lot for your answer.

adnan


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: path and classpath

path and classpath for java www.computing.net/answers/programming/path-and-classpath-for-java/13213.html

installing java on XP please help! www.computing.net/answers/programming/installing-java-on-xp-please-help/6265.html

vb6 filelistbox path www.computing.net/answers/programming/vb6-filelistbox-path/8871.html