Download and install OpenJDK 11
HTML-код
- Опубликовано: 11 сен 2024
- How to download and install OpenJDK distribution of Java SE 11 on Windows operating system. OpenJDK 11 is an open-source build of JDK 11. Also configure system environment variables to update to Java 11.
Thank you. I used this today and it was very helpful!
Glad it was helpful!
in the Administrator: Command Prompt
after changing directory and checking java version I had this following error:
'java' is not recognized as an internal or external command,
operable program or batch file.
Did you open a new command prompt window after making change? The existing command window will not be updated.
Yes.. Now it's working and Thank You
It says "Access to the registry path is denied." when I put in setx -m JAVA_HOME "g:\JDK\OpenJDK\jdk-11.0.2" in command prompt
you need to run the command prompt as administrator to have permission.
Hello i have a requirement for installing open JDK 11 and open JDK 8 for Apache on windows server 2019. I need it for installing in production systems and other environments . I see here in the link you mentioned in the video there is a warning that security patches are not available . Where can we download a safer free version of open JDK 8 and open JDK 11 ?. CN you please help ?
you see such warning because JDK 8 and 11 are outdated. You should go with JDK 17 instead. Or try Amazon Correto 8 and 11: ruclips.net/video/caTI_gD9cgw/видео.html
@@CodeJava hello thanks for reply. We need the versions 11 and 8 only for our application as it recommended by the vendor .could you please let me know from where can we download a safe versions of these open JDK 11 and 8?. And they recommend only open jdk
@@gdgggggg ignore that warning message. You can safely use the files downloaded from jdk.java.net or oracle.com
@@CodeJava thanks a lot for your reply. I have one more question which i request for your help . I have downloaded a .exe JDK file. Can we install the Java in a drive other than c drive for example in d drive or some other drive using the installer. I have seen Java normally gets installed in c drive . Is it possible for us to provide a path for java installatiom folders ( a drive other than c drive ) while installing through the .exe file ?.
@@gdgggggg certainly you can choose any location where JDK should be installed.