

The fastest way to change the environment variables is to press the Windows key and type "env" – Windows then offers "Edit the system environment variables" as a search result:įollowed the same process, but not getting the version properly. The Java installers create various environment variables, which you need to clean up first (see below). Manually Setting the Java Environment Variables Some programs, such as Eclipse, define the Java version in a separate configuration file (for Eclipse, for example, this is the entry "-vm" in the eclipse.ini file). These variables should always point to the same Java installation to avoid inconsistencies.


