Background
It is time for yours truly to catch up on Log4J Security vulnerabilities.
Java JDK Installation
Sadly, actually very sad, I do not have Java JDK ( Java Development Kit ) installed on my new computer.
Artifacts
Location
Java’s JDK is available at https://www.oracle.com/java/technologies/downloads/ ( Link ).
As of today, 2021-December-31st, the currently availed version is 17.01.1.
Choice
Our OS is Windows and so we chose the x64 MSI Installer for MS Windows.
Installing
To install, simply run the downloaded installer.
Steps
- The Welcome Screen appears
- The version number ( 17.0.1 ) is listed
- Please make sure that it matches your expectation based on the artifact you downloaded
- Installation Folder
- Based on your organization practices or your personal preference, please choose the drive and folder the application should be installed on
- Installing
- Installation is began
- Completion
- Upon completion, the installer informs you that application has been successfully completed
Images
Image – Welcome
Image – Installation Folder
Image – Extracting Installer
Installation Complete
Review Installation
Command Line
Access terminal and run
- javac compiler
- javac
- java runtime
- java
javac compiler ( javac )
version
Syntax
java --<option>
Sample
javac --version
Output – Image
Output – Text
>javac --version javac 17.0.1
java runtime ( java )
version
Syntax
java -- <option>
Sample
java --version
Output – Image
Output – Text
>java --version java 17.0.1 2021-10-19 LTS Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39) Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
Summary
Obviously could have gone with one of Java’s IDE such as Eclipse or IntelliJ IDEA.
But, want to keep things simple and focused on the task at hand.
References
- Oracle
- Java
- Downloads
Link
- Downloads
- Java
[…] Java:- JDK – Installing Java JDK on MS-Windows Link […]
[…] Java:- JDK – Installing Java JDK on MS-Windows Link […]
[…] Java:- JDK – Installing Java JDK on MS-Windows Link […]