DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Set Environment Variables in Windows


Set env variables in current process: set JAVA_HOME='D:\jdk8'; Set env vars globally: setx JAVA_HOME 'D:\jdk8'; Print a env var: echo %JAVA_HOME%.

Ref: https://superuser.com/questions/79612/setting-and-getting-windows-environment-variables-from-the-command-prompt



Published

Apr 5, 2017

Last Updated

Apr 5, 2017

Category

Tech

Tags

  • environment 2
  • windows 67

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor