Bahrain jdk1.8 compiler environment can not change back to a lower version

Bahrain needs encountered 1.8 1.7 environment can not go back, obtained from the users easy to use method of testing, thanks for sharing out

There are two reasons, which may not be in these:

  1. After JDK1.8 installation, there will be an environment variable points to C: \ ProgramData \ Oracle \ Java \ javapath path setting, if there is please delete it.

  2. During installation, it may be the C: \ Windows or C: \ Windows \ System32 directory under direct copy java.exe and javaw.exe two files, you also pay attention to it.

Summed up the installation process is a priority higher than a particular configuration path configuration, and said unload 1.8 after it, it should be the reason

Guess you like

Origin blog.csdn.net/weixin_43671743/article/details/90085164