Skip to content

Adding file for java Installation steps-by-step #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions java-installation.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Steps to Install Java

Step 1: Download the JDK
Visit the Official Website: Go to the Oracle JDK download page or OpenJDK for open-source versions.
Select the JDK Version: Choose the version of the JDK you wish to install. The latest stable version is recommended.
Choose the Installer: Download the installer compatible with your operating system (Windows, macOS, or Linux).

Step 2: Install the JDK
Windows:
1).Run the Installer: Double-click the downloaded .exe file.
2).Follow the Installation Wizard: Proceed through the installation wizard, accepting the default settings or customizing as needed.
3).Set Environment Variables:

A).Open the System Properties by right-clicking on 'This PC' and selecting 'Properties'.
B).Click on 'Advanced system settings' and then 'Environment Variables'.
C).Under 'System variables', click 'New' and add JAVA_HOME with the path to the JDK installation directory.
D).Edit the 'Path' variable and add %JAVA_HOME%\bin.

Step 3: Verify the Installation
Open Command Prompt/Terminal.
type -> java -version
Loading