CSDT BLOG

DISCOVER COLLECTIONS AND BLOGS THAT MATCH YOUR INTERESTS.




Share ⇓




How to set JAVA Path in windows 10 operating system?

Bookmark

How to set JAVA Path in windows 10 operating system?

General Information

The PATH is the system variable that your operating system uses to locate needed executables from the command line or Terminal window.

The PATH system variable can be set using System Utility in control panel on Windows, or in your shell's startup file on Linux and other operating system.

For Windows Operating System

Windows 10 and Windows 8

Step 1. In Search, search for and then select: System (Control Panel) icon and then right click on System icon and select Property option.

Step 2. Click the Advanced system settings link.

Step 3. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.

Step 4. In the Edit System Variable (or New System Variable) window, specify the value( value must copy from java installation path. first you go C: Drive then select Programs file and open it and again select JAVA folder then select Java JDK and then select bin folder and finally copy of this current path.) of the PATH environment variable. Click OK. Close all remaining windows by clicking OK.

Step 5. Reopen Command prompt window, and run your java code.

For Windows 7 Operating System

  1. From the desktop, right click the Computer icon.

  2. Choose Properties from the context menu.

  3. Click the Advanced system settings link.

  4. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.

  5. In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. Click OK. Close all remaining windows by clicking OK.

  6. Reopen Command prompt window, and run your java code.

    Thank you for reading.. www.csdt.co.in

19

Our Recent Coment