[go: up one dir, main page]

0% found this document useful (0 votes)
26 views2 pages

M1088184 - Assignment 1

The document provides instructions for installing the Java Development Kit (JDK) and Java Runtime Environment (JRE) on Windows. It outlines downloading the JDK from Oracle's website, accepting the license agreement, selecting an installation path, and modifying environment variables to include the JDK/JRE bin directory. For the JRE, it describes downloading from Oracle, following the installation instructions, saving the executable path, and configuring the JAVA_HOME environment variable to point to the JDK/JRE installation directory.

Uploaded by

Gaurang Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views2 pages

M1088184 - Assignment 1

The document provides instructions for installing the Java Development Kit (JDK) and Java Runtime Environment (JRE) on Windows. It outlines downloading the JDK from Oracle's website, accepting the license agreement, selecting an installation path, and modifying environment variables to include the JDK/JRE bin directory. For the JRE, it describes downloading from Oracle, following the installation instructions, saving the executable path, and configuring the JAVA_HOME environment variable to point to the JDK/JRE installation directory.

Uploaded by

Gaurang Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment 1

Q1 .Install the JDK and JRE and set up the environment.


Ans :

Jdk installation process


Step 1) Go to link. Click on JDK Download for Java download JDK

Step 2) Next,

Accept License Agreement

Download Java 8 JDK for your version 32 bit or JDK download 64 bit.

Step 3) When you click on the Installation link the popup will be open. Click on I
reviewed and accept the Oracle Technology Network License Agreement for Oracle
Java SE development kit and you will be redirected to the login page. If you don’t
have an oracle account you can easily sign up by adding basics details of yours.

You will be required to create an Oracle Account to start Java 8 download of the file.

Step 4) Once the Java JDK 8 download is complete, run the exe for install JDK. Click
Next

Step 5) Select the PATH to install Java in Windows… You can leave it Default. Click
next.
Follow the onscreen instructions in succeeding steps to install Java 8 on Windows 10.
Step 6) Once you install Java in windows, click Close

Following are the required steps −


Assuming you have installed Java in c:\Program Files\java\jdk directory
Right-click on 'My Computer' and select 'Properties'.
Click the 'Environment variables' button under the 'Advanced' tab.
Now, alter the 'Path' variable so that it also contains the path to the Java executable.
Example, if the path is currently set to 'C:\WINDOWS\SYSTEM32', then change
your path to read 'C:\WINDOWS\SYSTEM32;c:\Program Files\java\jdk\bin'.

jre installation process

1. Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html

2. Under Java Platform, Standard Edition, select either the current release, or
click Previous Releases to install an earlier supported version. You can use either the
JDK or JRE. The JDK includes the JRE. Do not use any non-supported version or
edition of the Java JRE or JDK.

3. Follow the navigation aids to download the JRE or JDK that is appropriate for your
operating system.

4. Follow the installation instructions that are provided with the JRE.

5. Save the path to the JRE executable file. You will need it later.

6. Proceed to the instructions in Verifying the JRE Environment.

Following are the required steps −


 Right click MyComputer/This PC and click Properties.
 Click Advanced System Settings.
 Click on Environment Variables.
 To configure JAVA_HOME click on New button present below System variable
section and add Variable name as JAVA_HOME and Variable value as location of
JDK/java installation directory, C:\\Program Files\\Java\\jdk

You might also like