Last active
March 14, 2024 09:06
-
-
Save antic183/9dcc1de131b13aa104b4b5f5f9822dac to your computer and use it in GitHub Desktop.
work with several openjdk version on windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.) download your desired jdk version --> https://jdk.java.net/archive/ | |
2.) unzip the and move the jdk folder on the desired place | |
3.) add java/bin/ folder to the PATH env.-variable permamently | |
- open powershell as admin !important | |
- $env:Path+=";C:\_YOUR-DESIRED-JAVA-PATH_\jdk-xx.xx.xx\bin" | |
- [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment