Menu BAR

FEEL FREE TO ASK ANY PROGRAM and please mention any error if you find it

10 Feb 2024

JAVA TUTORIAL PART 2 - JDK (Java Development Kit) INSTALLATION


1) Download the JDK



1) Visit the official Oracle website or OpenJDK website to download the JDK installer for your operating system.

2) Make sure to download the version that matches your operating system (Windows, macOS, or Linux)


2) Run the Installer



1) Once the JDK is installed, choose the installation directory for the JDK.

2) Set the Environment Variables- 
                - JAVA_HOME (example - C:\Program Files\ Java\jdk-16)
    
    Add the JDK's bin Folder to the PATH environment variable.
                - PATH (example - %JAVA_HOME%\bin)



3) Verify the Installation



Open the terminal or Command Prompt to check the Java version.

Example -   java -version

                
                                                        

Click Here to Learn About Java Data Types

No comments:

Post a Comment