Skip to main content

There are 3 location where you should look\check 1.Registry HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_xxx\JavaHome 2.Java Control Panel- Java tab - View - Path 3.Environment Variables - Path ($env:Path)locations to check

  1. Registry HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_xxx\JavaHome
  2. Java Control Panel- Java tab - View - Path
  3. Environment Variables - Path ($env:Path)

All 3 have to align (if you have multiple entires just remove the wrong ones)  - thats all

There are 3 location where you should look\check 1.Registry HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_xxx\JavaHome 2.Java Control Panel- Java tab - View - Path 3.Environment Variables - Path ($env:Path)

All 3 have to align (if you have multiple entires just remove the wrong ones)- thats all

There are 3 locations to check

  1. Registry HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_xxx\JavaHome
  2. Java Control Panel- Java tab - View - Path
  3. Environment Variables - Path ($env:Path)

All 3 have to align (if you have multiple entires just remove the wrong ones)  - thats all

Source Link

There are 3 location where you should look\check 1.Registry HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_xxx\JavaHome 2.Java Control Panel- Java tab - View - Path 3.Environment Variables - Path ($env:Path)

All 3 have to align (if you have multiple entires just remove the wrong ones)- thats all