How to set path and classpath in windows xp




















You can also use DOS ccommand to set these variables. Here step by step guide is given to set above two environments variable in Windows 7 Operating System. To set PATH variable copy the location up to bin directory located in java installation directory, In my machine java is installed in C:Program FilesJava so path for my machine is given below.

Now you can see new window as shown below, in that click on Advanced System Setting option located on the top left corner of the window. When you click on Environment Variables.

If variable with these names already exist then just edit it and add variable values at the end. If not exist then click on New and add variable details as given below.

Exception in thread "main" java. I need both java 6 and java 7 for 2 different programs. I followed your instructions and set the path for java7 but now the other program keeps comomg up as 7 and I need 6 for the other. I posted your site to the coordinator. But now I need to use java 6, still on my machine for the other one. Thanks bro At last it worked in my Win Thank u very much This is just the kind of information that i had been looking for, i'm already your rss reader now and i would regularly watch out for the new post, once again hats off to you!

Thanks a lot once again, Regards, Difference Classpath and Path. It worked for me. All the Best for your future endeavors. Thanks and Regards, Chaitanya. I followed teh instructions step by step, and after all that when I go to CMD and type java-version its says its not recognixed as an internal or external command. Any further instructions on what to do?

Im student from Informatics engineering, this article is very informative, thanks for sharing :. The Ultimate Solution. August 18, Hi friends,. Today I will show you how can you set Java path and Class Path on windows 7. If you want to see the VIDEO you can go through this link directly to know how to set path and class path in windows 7 , Or you can continue to the post below Command prompt will open. Now as we can see we don't have Java installed on our machine we will install java first.

Here you have to select Path as shown in above picture and click on edit. Now we need to copy the path of Java's bin folder to this place. After copying this path now again we will move back to our Environment Variable window ,. Now we need to paste this path there, So just type a semi colon ; and paste the above path we copied to that window and press OK as shown below. Now it will look like this. When you will click here, it will open a new window.

To get the lib folder path search for this location as shown in below image and copy it. Now we are done, just copy and paste the following Path and click on OK button and exit from all windows. Now open command prompt and type Java - verison as shown below, And it will tell you the current Java version installed on your system. Please go through below video for more detail.

Computer Tips Java Programming. Programmer August 20, at AM. Anonymous January 11, at AM. Anonymous February 24, at AM. Anonymous March 26, at PM. Mohammad Nashit April 26, at AM. Ganesh Prusty August 11, at PM.

Around Betul August 29, at AM. Anonymous August 30, at AM. Magalie September 10, at PM. Anonymous September 15, at AM. Anonymous October 5, at AM. Anonymous October 18, at AM. Anonymous November 7, at PM. Anonymous November 11, at AM. Anonymous November 17, at AM. Anonymous December 10, at PM. Anonymous January 25, at AM. Radha January 26, at AM. Anonymous February 4, at AM. Anonymous February 10, at AM. Anonymous February 13, at PM.

Anonymous February 16, at AM. Damian Baker February 21, at AM. Anonymous February 27, at AM. Anonymous March 18, at AM. Anonymous March 25, at AM.

Ghanshyam April 1, at AM. Anonymous April 4, at AM. Anonymous April 9, at PM. Qaiser Imam April 10, at PM. Anonymous April 15, at PM. Qaiser Imam April 15, at PM. Anonymous April 23, at AM. Imby May 6, at AM. Qaiser Imam May 6, at AM. Anonymous May 8, at AM. Anonymous May 14, at AM. Anonymous May 19, at PM. Ankit Gupta May 24, at AM. Anonymous June 2, at AM.

Anonymous June 6, at PM. Anonymous June 15, at AM. Anonymous June 28, at AM. Anonymous June 29, at AM. Anonymous July 1, at AM.

Anonymous July 2, at PM. Anonymous July 10, at PM. Unknown July 18, at PM. Anonymous July 20, at AM. Anonymous July 23, at AM. Anonymous July 24, at AM. To view and set the path through the Windows command line, use the path command.

The path is now managed by Windows and Windows XP and not the autoexec. To change the system environment variables, follow the steps below. The path is based on programs installed on the computer, so there is no "default path. Keep in mind that as you install programs, the path is updated with the paths for the newly installed programs.

So, if you have erased your path after installing other programs, those programs may be affected.



0コメント

  • 1000 / 1000