HowToDoInJava

  • Python
  • Java
  • Spring Boot
  • Dark Mode
Home / Java / Java Security / Set Environment Variables without Admin Access

Windows 7 – Set Environment Variables without Admin Access

In this tutorial, we will learn to set environment variables e.g. JAVA_HOME when you don’t have admin access to your development machine. This is very common scenario in companies with high security requirements like banks ( like mine 🙂 ).

Open “User Accounts” Option

You can locate this option by searching ‘accounts‘ or ‘user accounts‘ in window’s search option.

Search User Accounts in Windows 7
Search User Accounts in Windows 7

Click on “User Accounts” option.

Select option “Change my environment variables”

Once you are inside user accounts view, select option ‘Change my environment variables‘ and it will present you a window for adding/removing environment variables for your account.

Add Environment Properties
Add Environment Properties
In Windows 8, press Win + W and search ‘environment’. One option you are presented will be “Edit environment variables for your account”. Use this option to add/change/remove environment variables for your account.
If you have any open command prompt, then the above change will not be available in it. New environment variables will be available only on new command prompt windows after making above change.

Happy Learning !!

Was this post helpful?

Let us know if you liked the post. That’s the only way we can improve.
TwitterFacebookLinkedInRedditPocket

About Lokesh Gupta

A family guy with fun loving nature. Love computers, programming and solving everyday problems. Find me on Facebook and Twitter.

Comments are closed on this article!

Search Tutorials

Java Security Tutorial

  • Java – Generate Secure Hash
  • Java – Debug SSL Issues
  • Java – AES Algorithm
  • Java – AES 256
  • Java – REST Security Guide
  • Java – Bypass SSL Checking
  • Java – Set Env Variables without Admin Access

Java Tutorial

  • Java Introduction
  • Java Keywords
  • Java Flow Control
  • Java OOP
  • Java Inner Class
  • Java String
  • Java Enum
  • Java Collections
  • Java ArrayList
  • Java HashMap
  • Java Array
  • Java Sort
  • Java Clone
  • Java Date Time
  • Java Concurrency
  • Java Generics
  • Java Serialization
  • Java Input Output
  • Java New I/O
  • Java Exceptions
  • Java Annotations
  • Java Reflection
  • Java Garbage collection
  • Java JDBC
  • Java Security
  • Java Regex
  • Java Servlets
  • Java XML
  • Java Puzzles
  • Java Examples
  • Java Libraries
  • Java Resources
  • Java 14
  • Java 12
  • Java 11
  • Java 10
  • Java 9
  • Java 8
  • Java 7

Meta Links

  • About Me
  • Contact Us
  • Privacy policy
  • Advertise
  • Guest and Sponsored Posts

Recommended Reading

  • 10 Life Lessons
  • Secure Hash Algorithms
  • How Web Servers work?
  • How Java I/O Works Internally?
  • Best Way to Learn Java
  • Java Best Practices Guide
  • Microservices Tutorial
  • REST API Tutorial
  • How to Start New Blog

Copyright © 2020 · HowToDoInjava.com · All Rights Reserved. | Sitemap

  • Sealed Classes and Interfaces