I am trying to use the javac command. However, my windows XP home can't find this internal command. Can someone show/teach me how to set the path for the java under the cmd? Thanks.
You can either set the PATH environment variable in cmd, or the NT way of doing this is through the environment variables in System Properties. I'm sure the exact procedure is specifically described in the Java2 SDK docs.
First, install Sun's Java SDK. After you have it installed you may have to add java's bin folder to your Path variable. To do this, go to the System control panel --> Advanced tab --> Environment Variables button, select the Path variable, click edit and add the bin directory to the variable value field (the items in this field are separated by semicolons). For me, my bin folder is located at"C:\j2sdk1.4.2_03\bin".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.