SofTeCode Blogs

One Place for all Tech News and Support

How to install JDK and set Environment path

2 min read
jdk

image by pixabay

5
(1)

History of Java

1. Java is both a programming language and a platform.
2. Java is also a platform for application development.
3. Java was originally named Oak.
4. 1991 – James Gosling developed Oak (later Java).
5. 1995 – Java formally announced. JDK – Java Development Kit (1.0)
6. 1997 – JDK 1.1 Launch. Java Servlet API (Application Program Interface) released.
7. 1998- Sun Microsystem introduced Java as ‘Open Source’. Sun produces a JDK 1.2 for LINUX.
8. 1999-2001 – JDK 1.3. JDK’s also produced by IBM on multiple platforms.
9. 2002 – Java Support for Web Services.
10. 2005 – Java technology celebrates its 10th Birthday.
11. 2007- Java technology is more than 5.5 billion.
12. 2010 – Oracle acquires Sun Microsystem.

Downloading and install JDK 14 in Computer System

1. go to Google.com and search Java JDK
or click the link given –

Java JDK 14.0 Windows 64bit click here

JDK 8 for Windows 32bit or 86bit click here

JDK 8 for Windows 64bit
https://download.oracle.com/otn/java/jdk/8u251-b08/3d5a2bb8f8d4428bbe94aed7ec7ae784/jdk-8u251-windows-x64.exe

2. Install the downloaded file by following the steps :
1. double click to open the downloaded file or right-click and select open
2. Select Yes in Administration Popup
3. now click on next and proceed further to install
4. follow the instruction given while installation
5. at last Click Next or Finish depending upon the option.

3. Setting the environment for a command
1. control -> Advance System Setting
or
directly search Advance System Setting in the windows search
2. in the Advance menu, click on Environment Variables
3. Now Click New in User Variable
4. Now in Variable Name – Give a name like Java or Java_Home, etc depending upon the variable not available
5. Now in Variable Value, click on browse directory
6. Go to Windows C then open Program Files, next open java folder then select JDK 14.1 or JDK 8.1 Folder as the software installed.
7. Now Click on OK in New User Variable

Step Part-2
1.Now Click on New button in System Variable
2. Now fill Variable name as per the name given above (Variable name given in User Variable)
3. Browse directly and follow the same step as above
4. in JDK 14 or JDK 8 folder, select bin folder
4. After doing all, click OK in Environment Variable

5. Checking the Environment Variable installed correctly or not
1. open cmd (command prompt)
2. now type “echo %varibale_name%”
eg. if variable name is java, then type – echo %java%
C:\Users\manoj>echo %java%
C:\Program Files\Java\jdk-14.0.1.
3. Now to check java version – type “javac -version”
C:\Users\manoj>javac -version
javac 1.8.0_242

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

Give your views

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Social Love – Follow US