Cannot add system ENV variable build 1703 - even as admin


  1. Posts : 11,247
    Windows / Linux : Arch Linux
       #1

    Cannot add system ENV variable build 1703 - even as admin


    Hi there
    Need to add jdk (Java) into path system ENV variable. (Note needs to be in system path not user one).
    Logged on as admin

    System will allow enter env screen but doesn't save it W10 x-64 pro build 1703..

    Any way round this -- I need jdk to use Eclipse IDE.

    Cheers
    jimbo
      My Computer


  2. Posts : 8,108
    windows 10
       #2

    What's path length have you exceeded it?
      My Computer


  3. Posts : 11,247
    Windows / Linux : Arch Linux
    Thread Starter
       #3

    Hi there
    fixed it by using setx in command mode -- seems the GUI doesn't work

    here's what I did in elevated command mode

    setx PATH "C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ ;C:\Users\jim\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Java\jdk1.8.0_131\bin"

    Working fine now -- run javac command and the java options come up

    Cheers
    jimbo
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:18.
Find Us




Windows 10 Forums