SlideShare a Scribd company logo
1 of 16
How to Install Java in Windows
By admin on Friday, May 10,2013
This tutorial provides step by step explanation of how to install Java in Windows.
Step 1: Download JDK
1. Download JDK or JRE
fromhttp://www.oracle.com/technetwork/java/javase/downloads/index.html
2. Select the version .exe format for Windows. As per your system requirement
(Windows x86 for 32-bit windows or Windows x64 for 64-bit windows).
Step 2: Installation
1. Double click the downloaded JDK exe file.
2. Click on "Next" button to start Setup
3. The "Custom Setup" window allows you to choose the optional features of the
JDK, such as Development tool, Source Code etc. And also you can change the
installation directory.
@NOTE: if you want to use default location for JDK and JRE installation skip point
4th and 7th
4. Click on "Change…" button, to change your installation directory.
5. Installing window will take few minutes to install the JDK.
6. During JDK installation, you will get new window for JRE installation. Here you can
choose optional features and also can change installation path for JRE.
7. Click on "Change…" button, to change JRE installation directory
8. Click on "OK", then Click on "Next" button
9. Finally you will get "Complete" screen, click on the "Finish" button. Now you have
done your JDK and JRE installation.
10. After JDK installation is done, need to configure the environment variable. Let's
come into next.
Step 3: JDK Configuration
JDK installation is OK, but need to configure the windows environment to compile and
running the java application from any location. If you have not configured windows
environment then your java program can be compile and run from <java-home>/bin dir.
To configure the installed JDK into windows, need to set environment variable
JAVA_HOME to "D:Program FilesJavajdk1.7.0_21".
1. Click on Start -> Right Click on Computer -> Select Properties.
2. Click on Advance system settings
3. Go to Advanced tab.
4. Click on Environment Variables button
5. Under User Variables section, click on New button
6. Put Variable name JAVA_HOME and Variable value D:Program
FilesJavajdk1.7.0_21
7. Press OK button to exist.
8. Now set PATH environment variable same as above. Put Variable name PATH
and Variable value D:Program FilesJavajdk1.7.0_21bin
9. Now you have done your JDK configuration
Step 4: Testing Java Installation –
Before start development, need to check the installation and configuration are properly
or not.
1. Open Command prompt and type "javac", if installation is properly then it must be
show as below.
How to install java in windows

More Related Content

Viewers also liked

Overivew Of Microsoft Office 2010 For It Professionals
Overivew Of Microsoft Office 2010 For It ProfessionalsOverivew Of Microsoft Office 2010 For It Professionals
Overivew Of Microsoft Office 2010 For It Professionals
winwithneeraj
 
SharePoint 2010 – Installation and maintenance – best practices
SharePoint 2010 – Installation and maintenance – best practicesSharePoint 2010 – Installation and maintenance – best practices
SharePoint 2010 – Installation and maintenance – best practices
Toni Frankola
 
G zip compresser ppt
G zip compresser pptG zip compresser ppt
G zip compresser ppt
gaurav kumar
 
Office 2010 Word Chapter 1
Office 2010 Word Chapter 1Office 2010 Word Chapter 1
Office 2010 Word Chapter 1
mindysholder
 

Viewers also liked (11)

How GZIP works... in 10 minutes
How GZIP works... in 10 minutesHow GZIP works... in 10 minutes
How GZIP works... in 10 minutes
 
Overivew Of Microsoft Office 2010 For It Professionals
Overivew Of Microsoft Office 2010 For It ProfessionalsOverivew Of Microsoft Office 2010 For It Professionals
Overivew Of Microsoft Office 2010 For It Professionals
 
Winzip and winrar
Winzip and winrarWinzip and winrar
Winzip and winrar
 
Office 2010 windows
Office 2010 windowsOffice 2010 windows
Office 2010 windows
 
SharePoint 2010 – Installation and maintenance – best practices
SharePoint 2010 – Installation and maintenance – best practicesSharePoint 2010 – Installation and maintenance – best practices
SharePoint 2010 – Installation and maintenance – best practices
 
G zip compresser ppt
G zip compresser pptG zip compresser ppt
G zip compresser ppt
 
Comprimidores
ComprimidoresComprimidores
Comprimidores
 
Checklist - How to install Java, Maven Intellij on Windows & Mac
Checklist - How to install Java, Maven Intellij on Windows & MacChecklist - How to install Java, Maven Intellij on Windows & Mac
Checklist - How to install Java, Maven Intellij on Windows & Mac
 
PowerPoint for Introduction to Office 2010
PowerPoint for Introduction to Office 2010PowerPoint for Introduction to Office 2010
PowerPoint for Introduction to Office 2010
 
Office 2010 Word Chapter 1
Office 2010 Word Chapter 1Office 2010 Word Chapter 1
Office 2010 Word Chapter 1
 
Basics of Microsoft Word
Basics of Microsoft WordBasics of Microsoft Word
Basics of Microsoft Word
 

Recently uploaded

Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 

How to install java in windows

  • 1. How to Install Java in Windows By admin on Friday, May 10,2013 This tutorial provides step by step explanation of how to install Java in Windows. Step 1: Download JDK 1. Download JDK or JRE fromhttp://www.oracle.com/technetwork/java/javase/downloads/index.html 2. Select the version .exe format for Windows. As per your system requirement (Windows x86 for 32-bit windows or Windows x64 for 64-bit windows). Step 2: Installation 1. Double click the downloaded JDK exe file.
  • 2. 2. Click on "Next" button to start Setup 3. The "Custom Setup" window allows you to choose the optional features of the JDK, such as Development tool, Source Code etc. And also you can change the installation directory.
  • 3. @NOTE: if you want to use default location for JDK and JRE installation skip point 4th and 7th 4. Click on "Change…" button, to change your installation directory.
  • 4. 5. Installing window will take few minutes to install the JDK.
  • 5. 6. During JDK installation, you will get new window for JRE installation. Here you can choose optional features and also can change installation path for JRE.
  • 6. 7. Click on "Change…" button, to change JRE installation directory
  • 7. 8. Click on "OK", then Click on "Next" button
  • 8. 9. Finally you will get "Complete" screen, click on the "Finish" button. Now you have done your JDK and JRE installation.
  • 9. 10. After JDK installation is done, need to configure the environment variable. Let's come into next. Step 3: JDK Configuration JDK installation is OK, but need to configure the windows environment to compile and running the java application from any location. If you have not configured windows environment then your java program can be compile and run from <java-home>/bin dir. To configure the installed JDK into windows, need to set environment variable JAVA_HOME to "D:Program FilesJavajdk1.7.0_21". 1. Click on Start -> Right Click on Computer -> Select Properties.
  • 10. 2. Click on Advance system settings
  • 11. 3. Go to Advanced tab.
  • 12. 4. Click on Environment Variables button
  • 13. 5. Under User Variables section, click on New button 6. Put Variable name JAVA_HOME and Variable value D:Program FilesJavajdk1.7.0_21
  • 14. 7. Press OK button to exist. 8. Now set PATH environment variable same as above. Put Variable name PATH and Variable value D:Program FilesJavajdk1.7.0_21bin
  • 15. 9. Now you have done your JDK configuration Step 4: Testing Java Installation – Before start development, need to check the installation and configuration are properly or not. 1. Open Command prompt and type "javac", if installation is properly then it must be show as below.