12/29/2023 0 Comments JavaopenjdkOpenJDK Runtime Environment (build 16.0. Our output is expected to be something like: openjdk version "16.0.1" We are done with this part, now we can verify that our Java installation is working properly, while in the command prompt type and execute: C:\>java -version & javac -version Our output should have our Java installation location included, and may look like this: Now close all the windows and let’s verify if we have added Java to the PATH variable correctly, start the Command Prompt and just type: echo %PATH% We should have something like this eventually: In this example I have it like so: C:\Program Files\Java\jdk-16.0.1\bin ![]() Environment Variables select Path from a list of System Variables and click Edit…Īdd your folder path with Java installation to the list, be sure to use path with \bin folder in the end. Open Edit the environment variables link and in the Advanced Tab select Environment Variables Press Win key and start typing: “Environment Variables” you should see something like this: Our next task is to add our Java to the Windows PATH variable so we can execute it across all of our System. Be sure to use Admin user (or have an access to the Admin user credentials) to extract zip archive into C:\Program Files folder. I prefer to put Java into a folder like C:\Program Files\Java but theoretically it can be located anywhere on your drive. Now we’ll need to unzip the file into a target folder. Let’s start with the download first.Ĭurrent OpenJDK GA release can be found here: the latest version now is JDK 16.0.1 Now let’s download the latest version that is provided as a. This time our focus is to install the latest OpenJDK in a Windows system. tar.gz archive and update the default JDK version
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |