title: Powershell is always using wrong Java
body: <p>As far as i know you can use every Java version when you are just in the right directory.
  Lets say i have on my PC Java 8 and Java 15. They are both located in <code>C:\Program Files\java</code>.<br />
  So when i go in <code>C:\Program Files\java\jre1.8.0_291\bin</code> and run in cmd <code>java.exe -version</code> i get the version 1.8 .<br />
  The same goes with Powershell.</p>
  <p>But here comes the problem. When i go to <code>C:\Program Files\java\jdk-15.0.1\bin</code> i get in cmd the version 1.15, but in Powershell i still get 1.8.<br />
  I think that Powershell always refers to the standard JRE installed.</p>