tag:blogger.com,1999:blog-10357747190826260602024-03-05T12:54:48.105-08:00Tutorials PointRaj Sathawarahttp://www.blogger.com/profile/10449932542106735579noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-1035774719082626060.post-26202683014583096292016-09-27T04:09:00.002-07:002016-09-27T04:12:29.944-07:00How to Compile And Run Programs In Core Java<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdDhKs735HzOa1_AHAIREk6-dlFRLgBQuz5brb6ezrpBQ1Ng8MXe08oXZTJ1bb8O1xuF2Iy-IjLWIsM0fmWDqlLNmvg48ldkmZ15M33c-S6irWZpZhTndDVtZm2-WYdERexO3Q_v2n9Tk/s1600/1.png" imageanchor="1"><img border="0" height="203" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdDhKs735HzOa1_AHAIREk6-dlFRLgBQuz5brb6ezrpBQ1Ng8MXe08oXZTJ1bb8O1xuF2Iy-IjLWIsM0fmWDqlLNmvg48ldkmZ15M33c-S6irWZpZhTndDVtZm2-WYdERexO3Q_v2n9Tk/s400/1.png" width="400" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
Step-1: Right click on <u style="font-weight: bold;">Desktop</u> and select <b><u>New</u></b> option and then click on <b><i>Shortcut</i></b>.</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZYIkKYTOcRGC_fjiX8_e4CcWpHTR1ZdBfxbriLso6BoFGF3enIXlUQgEwVupG71B3LXiZrySBH6xj7MhmMikFH81XUPfARTabhQ1tiZG7zWbleCD5TgjiWX1YTJUFuTaqiGdV2YZL05w/s1600/1.png" imageanchor="1"><img border="0" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZYIkKYTOcRGC_fjiX8_e4CcWpHTR1ZdBfxbriLso6BoFGF3enIXlUQgEwVupG71B3LXiZrySBH6xj7MhmMikFH81XUPfARTabhQ1tiZG7zWbleCD5TgjiWX1YTJUFuTaqiGdV2YZL05w/s400/1.png" width="400" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
Step-2: Write <u style="font-weight: bold;">CMD</u> in text box. Then click on <b><u>Next</u></b>.</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyACwmM151xi1uLHqZ322J-gegFIFYDmW-0f6MqZk9Q8K-tHx_OgRQWG_ypXehOqn3uoihy-qD67Ro74eFEsGslhoS2V8_UlSIDhjlhVnRT5wKSbFF9mlooAHQ7N7jfx_3YOV3Togt9rk/s1600/1.png" imageanchor="1"><img border="0" height="291" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyACwmM151xi1uLHqZ322J-gegFIFYDmW-0f6MqZk9Q8K-tHx_OgRQWG_ypXehOqn3uoihy-qD67Ro74eFEsGslhoS2V8_UlSIDhjlhVnRT5wKSbFF9mlooAHQ7N7jfx_3YOV3Togt9rk/s400/1.png" width="400" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
Step-3: Write <u style="font-weight: bold;">JAVA</u> as name of shortcut file. Then, Click on Finish.</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
Step-4: Open <b><u>Notepad</u></b> or any text editor in your computer.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Step-5:Write following program in text editor-</div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
<span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;"><span style="color: #006699;"><b> </b></span></span><span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;"><span style="color: #006699;"><b> </b></span></span><span class="keyword" style="border: none; color: #006699; font-family: "verdana"; font-size: 13px; font-weight: 700; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;">class</span><span style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;"> Hello</span></div>
<div style="text-align: left;">
<span style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;"> { </span></div>
<span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;"> </span><span class="keyword" style="border: none; color: #006699; font-family: "verdana"; font-size: 13px; font-weight: 700; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;">public</span><span style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;"> </span><span class="keyword" style="border: none; color: #006699; font-family: "verdana"; font-size: 13px; font-weight: 700; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;">static</span><span style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;"> </span><span class="keyword" style="border: none; color: #006699; font-family: "verdana"; font-size: 13px; font-weight: 700; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;">void</span><span style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;"> main(String args[])</span><br />
<div>
<span style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;"> { </span></div>
<div>
<span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;"> System.out.println(</span><span class="string" style="border: none; color: blue; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;">"Hello Java"</span><span style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;">); </span><br />
<span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;"> } </span><br />
<div style="text-align: left;">
<span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;"> }</span></div>
<div style="text-align: left;">
<span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;">Description Of Program=></span><br />
<span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;"><u style="font-weight: bold;">Hello</u> is class name. </span><u><b><span class="keyword" style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;">public</span><span style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;"> </span><span class="keyword" style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;">static</span><span style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;"> </span><span class="keyword" style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;">void</span></b></u><span style="border: none; font-family: "verdana"; font-size: 13px; line-height: 1.5; margin: 0px; padding: 0px; text-align: justify;"><b style="text-decoration: underline;"> main(String args[])</b> method is called <i style="font-weight: bold;">main method. </i><span style="font-weight: bold; line-height: 1.5; text-decoration: underline;">System.out.println(</span><span class="string" style="border: none; color: blue; font-weight: bold; line-height: 1.5; margin: 0px; padding: 0px; text-decoration: underline;">"Hello Java"</span><span style="border: none; line-height: 1.5; margin: 0px; padding: 0px;"><u style="font-weight: bold;">);</u> statement is used to print any line.</span></span><span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;">Step-6:Make new directory to save java files of any name. For example, I create directory <b><i>JAVA_PROGS.</i></b></span></div>
</div>
<div style="text-align: left;">
<span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;"><br /></span></div>
<div>
<span style="font-family: "verdana"; font-size: 13px; line-height: 1.5; text-align: justify;">Step-7:Save this file as <b>Class_Name.java. </b>In our example, Class name of file is <b>Hello. </b>So, we save this file as <i style="font-weight: bold; text-decoration: underline;">Sample.java</i> in directory </span><b style="font-family: Verdana; font-size: 13px; line-height: 19.5px; text-align: justify;"><i>JAVA_PROGS.</i></b></div>
<div>
<br /></div>
<div>
<span style="text-align: center;">Step-8: Right click on <u style="font-weight: bold;">JAVA</u> shortcut and click on <u style="font-weight: bold;">Properties.</u></span></div>
<div>
<span style="text-align: center;"><br /></span></div>
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirsPnzfTOQshaLCaqlHgK7syngAXdPb7dPhHrfFLk8HXVRttz9UOKdjg_JSetv4G7re1bGyccbMsszsnjBZsgzAF34xlSu_rTr-QrGIy1L09OzwFcMNWpBT44F-6yrToYQNKFx2JTFabM/s1600/1.png" imageanchor="1"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirsPnzfTOQshaLCaqlHgK7syngAXdPb7dPhHrfFLk8HXVRttz9UOKdjg_JSetv4G7re1bGyccbMsszsnjBZsgzAF34xlSu_rTr-QrGIy1L09OzwFcMNWpBT44F-6yrToYQNKFx2JTFabM/s400/1.png" width="290" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
Step-9: Copy path you are saving programs of java and paste it to <u style="font-weight: bold;">Start in</u> label. In our example, directory is <i style="font-weight: bold;">JAVA_PROGS.</i> I copy path and paste it to <b><u>Start in</u></b> label.</div>
<div style="text-align: left;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj99hZgm3hbpqrk3JS2lvU_3iMMkh5tg6ejzOqwIJ-Z7_ghheqhDLGnPfV1sb1oZMCiyJdlj8iMG99SJd-EPSsconZXVR65gl2Q-pzVSq6gmg7KkOg60lUgNZkSzGMX2SE11Cs0BsDRKv8/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="120" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj99hZgm3hbpqrk3JS2lvU_3iMMkh5tg6ejzOqwIJ-Z7_ghheqhDLGnPfV1sb1oZMCiyJdlj8iMG99SJd-EPSsconZXVR65gl2Q-pzVSq6gmg7KkOg60lUgNZkSzGMX2SE11Cs0BsDRKv8/s640/1.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step-10: Start <b><u>JAVA</u></b> shortcut and write <b>javac File_Name</b> and press <b>Enter.</b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><br /></b></div>
<div class="separator" style="clear: both; text-align: center;">
<b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfQJp4E1fXDIuMlJzN_TK-gNCmNsalAuDHEavx3TETR8pEI4T-gcxvp-yW3vKd4QJgRXsxuqj2h0srQBPAigBqUxio9cdY_Rcfkw-2yGjaF2QpCTCf-VgLSF9tgXydqNqD4SrFw_JM1CU/s1600/1.PNG" imageanchor="1"><img border="0" height="96" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfQJp4E1fXDIuMlJzN_TK-gNCmNsalAuDHEavx3TETR8pEI4T-gcxvp-yW3vKd4QJgRXsxuqj2h0srQBPAigBqUxio9cdY_Rcfkw-2yGjaF2QpCTCf-VgLSF9tgXydqNqD4SrFw_JM1CU/s640/1.PNG" width="640" /></a></b></div>
<div class="separator" style="clear: both; text-align: left;">
Step-11: Write <b>java Class_Name </b>and press <b>Enter.</b></div>
</div>
</div>
Raj Sathawarahttp://www.blogger.com/profile/10449932542106735579noreply@blogger.com0tag:blogger.com,1999:blog-1035774719082626060.post-72269833546820114422016-08-06T05:36:00.003-07:002016-08-06T05:38:32.709-07:00How to Set Environment Variables<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1HJS2tECR0OfvCNU29ElvQe8GEQtPmMXwdfidqtd7gWH_LyMyJlF2pql3_xH3Mlh4uc6fkiThEEFMxaM_2nfgJtIxxlCKy1kVoP7ngSauQMe_qcUvK8TX8IFSrKmSUpApDHwXUxynd44/s1600/12.png" imageanchor="1"><img border="0" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1HJS2tECR0OfvCNU29ElvQe8GEQtPmMXwdfidqtd7gWH_LyMyJlF2pql3_xH3Mlh4uc6fkiThEEFMxaM_2nfgJtIxxlCKy1kVoP7ngSauQMe_qcUvK8TX8IFSrKmSUpApDHwXUxynd44/s400/12.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step-1: Copy the path of JDK installation directory. The default path is <b><u>C:\Program Files\Java\jdk1.8.0_91\bin</u></b></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4TPwNseypTJ4j8t47QqyPqJczjRckv9XyZYaxMPWZLpEBE74Nxu12lWoWHF5qxOy9kdJRZyyBeKo9oR_t5JtQVCc_LudqCIFmTnQxRw7MbjBMt0LSCcDUDkb1_gBiJevMFx7G7RbrvSI/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="220" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4TPwNseypTJ4j8t47QqyPqJczjRckv9XyZYaxMPWZLpEBE74Nxu12lWoWHF5qxOy9kdJRZyyBeKo9oR_t5JtQVCc_LudqCIFmTnQxRw7MbjBMt0LSCcDUDkb1_gBiJevMFx7G7RbrvSI/s400/1.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step-2: Click on<i style="font-weight: bold;"> System Properties </i>in<i style="font-weight: bold;"> </i><u style="font-weight: bold;">My Computer</u> Window.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM8d4cJL-DMvbsZyWh8o3FASUk54seSGf1H0IVnj-ybc7wwCthhhPrtHT_CL6OlYNG-vnGqbgCK9HxT2eozPuiSKyLp9HXZwmGSOQHY30TKUTw399JLhX7ZRJV0hoJzVF2uCULJNV-tyY/s1600/4.PNG" imageanchor="1"><img border="0" height="206" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM8d4cJL-DMvbsZyWh8o3FASUk54seSGf1H0IVnj-ybc7wwCthhhPrtHT_CL6OlYNG-vnGqbgCK9HxT2eozPuiSKyLp9HXZwmGSOQHY30TKUTw399JLhX7ZRJV0hoJzVF2uCULJNV-tyY/s400/4.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step-3: Click on <i style="font-weight: bold;">Advanced system settings </i>in <u style="font-weight: bold;">System Properties </u>window.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrEmwLIiRFeYIdCSQJejYs6y2JjzL9fNOmLCpfDrYSY2U08VtnsCURscbiI1tYLG7ZZBWHg55sG1s9Ht4EzLY8IpoNQJ4EFsRrkeZRmqbHnXqvt1MZQ2YNsqr61VBSzW6BhFny58PgazE/s1600/5.png" imageanchor="1"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrEmwLIiRFeYIdCSQJejYs6y2JjzL9fNOmLCpfDrYSY2U08VtnsCURscbiI1tYLG7ZZBWHg55sG1s9Ht4EzLY8IpoNQJ4EFsRrkeZRmqbHnXqvt1MZQ2YNsqr61VBSzW6BhFny58PgazE/s400/5.png" width="356" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step-4: Click on <i style="font-weight: bold;">Environment Variables </i>in <u style="font-weight: bold;">Advanced System Setting</u> prompt window.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6YwjMmhBL58lxiKXkgVvsBUuBXeRw2NbCWnGz_Zh2HOSDv1C8-htkbroHZt-VCecfbGguiIjeXZX3cZzd5L42ZYAWwMgqc6VHffAc_HNl2xhjLQ4KOL_r_ujE7OogYn1SJYsLeJwJ4FY/s1600/5.png" imageanchor="1"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6YwjMmhBL58lxiKXkgVvsBUuBXeRw2NbCWnGz_Zh2HOSDv1C8-htkbroHZt-VCecfbGguiIjeXZX3cZzd5L42ZYAWwMgqc6VHffAc_HNl2xhjLQ4KOL_r_ujE7OogYn1SJYsLeJwJ4FY/s400/5.png" width="360" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step-5: Select <u style="font-style: italic; font-weight: bold;">Path</u> variable and Click on <b><u>Edit</u></b> button.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeHIA03PafBGBqzPGAS7q0aiT4vhfS4aAzWLfLfnOsRUju-viH3q4f5UKUoElIUgtkaKoFWUabYkm7V23zuQFHVqgs1QHOnoWDKFz07pq3ZuwYyNrFm5BR9aOPl8h3MOSRstHVQu0H-Iw/s1600/434.png" imageanchor="1"><img border="0" height="167" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeHIA03PafBGBqzPGAS7q0aiT4vhfS4aAzWLfLfnOsRUju-viH3q4f5UKUoElIUgtkaKoFWUabYkm7V23zuQFHVqgs1QHOnoWDKFz07pq3ZuwYyNrFm5BR9aOPl8h3MOSRstHVQu0H-Iw/s400/434.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="clear: both; text-align: left;">
Step-6: Paste the path we were copied in first step at the last and put semicolon(<b>;</b>). Then, click on <u style="font-weight: bold;">OK</u> and close windows, if not necessary.</div>
</div>
Raj Sathawarahttp://www.blogger.com/profile/10449932542106735579noreply@blogger.com0tag:blogger.com,1999:blog-1035774719082626060.post-84412669054426385892016-08-06T04:31:00.002-07:002016-08-06T05:07:03.860-07:00How to Install JDK<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd47V-02r4Far_p1ro9KOmclWkMTo7knkwlYILMLtoL21Ch_mDstx62xjyyLfFz1vgC1SFk-j0pYvqYje2xRa2ZzYWoYyrCbhM8GRDJEo87bk3WsXbbdbsalovdlLqldddpxq0TztLyOI/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="352" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd47V-02r4Far_p1ro9KOmclWkMTo7knkwlYILMLtoL21Ch_mDstx62xjyyLfFz1vgC1SFk-j0pYvqYje2xRa2ZzYWoYyrCbhM8GRDJEo87bk3WsXbbdbsalovdlLqldddpxq0TztLyOI/s640/1.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step-1: Click on <i><b>System Properties</b></i> in <b><u>My Computer</u></b> Window.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5Xw-GKggzNZOr66DPzIoS78TZH0mMOP3tEsqGT6zy_Ce9pFuxnTDOiCGEjMWvqgLvV5AexdLI4v7IALpOkFiYCj0cnNHv2XuYZqoioq_ASjg7qE7Ul6neh46mefVDJoPbSh2wpAFQIMA/s1600/2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5Xw-GKggzNZOr66DPzIoS78TZH0mMOP3tEsqGT6zy_Ce9pFuxnTDOiCGEjMWvqgLvV5AexdLI4v7IALpOkFiYCj0cnNHv2XuYZqoioq_ASjg7qE7Ul6neh46mefVDJoPbSh2wpAFQIMA/s640/2.PNG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step-2:Then, you have to check your operating <b><i>system type</i></b>, which will be shown in <b><i>System </i></b>panel in <b><u>System Properties</u></b>.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRXd-2H5bqQZT2BrqAtnzX8dIorjhuicg63-rg-9z2jS2q4_4kgs_-c1K7Ov3nup8fhla8aWQprW4IjKtdPMhqpowcLMBoCi0zyKhkm1ayjyvmf0zUU1V6QWOMRW9HJYsHbAgkxYR5T6I/s1600/3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="334" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRXd-2H5bqQZT2BrqAtnzX8dIorjhuicg63-rg-9z2jS2q4_4kgs_-c1K7Ov3nup8fhla8aWQprW4IjKtdPMhqpowcLMBoCi0zyKhkm1ayjyvmf0zUU1V6QWOMRW9HJYsHbAgkxYR5T6I/s640/3.PNG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step-3:Download from appropriate link of various JDK files based on <b><i>Operating system</i></b> and <b><i>System type</i></b>...Now,I have Windows-7 64-bit ,then I will download last link named <b><u>Windows x64</u></b>. These links are given below in my post.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidZEQKSlRJ7FVkI0hGsdrmrIaC16UsDQC_LFG1rWFBUAOXdK3KSqAa9zPROSrxGJJ3VfZOrYe_NAb75bC2EzFAHjWXL4gnQs5xG9NYDXTU564_EfKA1FWVn5yf_jUBKmWl3F872BNeWj0/s1600/6.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="484" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidZEQKSlRJ7FVkI0hGsdrmrIaC16UsDQC_LFG1rWFBUAOXdK3KSqAa9zPROSrxGJJ3VfZOrYe_NAb75bC2EzFAHjWXL4gnQs5xG9NYDXTU564_EfKA1FWVn5yf_jUBKmWl3F872BNeWj0/s640/6.PNG" width="640" /></a></div>
<br />
Step-4:Click on <b><u>Next</u></b> to start setup.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXCoHaiCrSXlOVkCdQ7WEWhYAF4DMjXIj1lLs3nvneNIw2AGap871F1nib6DhK3wcm2uzvdFSY2xiGFVCwOH1ks5xTBa9WiZq-hC9LyBuzU30SvGXolyRJFfsKRl5rufrLB3_sfqdgaQM/s1600/7.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="482" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXCoHaiCrSXlOVkCdQ7WEWhYAF4DMjXIj1lLs3nvneNIw2AGap871F1nib6DhK3wcm2uzvdFSY2xiGFVCwOH1ks5xTBa9WiZq-hC9LyBuzU30SvGXolyRJFfsKRl5rufrLB3_sfqdgaQM/s640/7.PNG" width="640" /></a></div>
<br />
Step-5: If you want to change destination directory, you can change by clicking on change button. Otherwise you only need to click on <u style="font-weight: bold;">Next</u> button. Be careful, don't change anything except the destination, if you want.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7sbvfVWjMQRfA_QWJNjLzYBCA-zlGVlFXIkpTptgmdbtq5lS6Yb4GxFlFrIKdO7LBW3uYKK9N8YNci16ex4m67ajIgg6feV6vMGiCsfBD1ikjGEIrIXXoHU_yC8XNcpL6C9FHNAZYd8w/s1600/8.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="486" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7sbvfVWjMQRfA_QWJNjLzYBCA-zlGVlFXIkpTptgmdbtq5lS6Yb4GxFlFrIKdO7LBW3uYKK9N8YNci16ex4m67ajIgg6feV6vMGiCsfBD1ikjGEIrIXXoHU_yC8XNcpL6C9FHNAZYd8w/s640/8.PNG" width="640" /></a></div>
<br />
Step-6:This will show progress of installation of JDK.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8niqs7O0ITdLxR-_VXfj5YWvCPb-A1qApmY4ObvGL1V8_X5aLukM00OuMaINp0U7CFD3UF6d1j6XA4Wo0RTWz61Y6HE-pkDXBrRYaWDh9I_PN5TCpSoxGI946RoB10GeYvfeleAs4Ldc/s1600/9.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="482" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8niqs7O0ITdLxR-_VXfj5YWvCPb-A1qApmY4ObvGL1V8_X5aLukM00OuMaINp0U7CFD3UF6d1j6XA4Wo0RTWz61Y6HE-pkDXBrRYaWDh9I_PN5TCpSoxGI946RoB10GeYvfeleAs4Ldc/s640/9.PNG" width="640" /></a></div>
<br />
Step-7: If you want to change destination directory of JRE, you can change by clicking on change button. Otherwise you only need to click on <u style="font-weight: bold;">Next</u> button.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkoMT8afsmCoioaFiL-VO0wd9zFkAXJ8_dvCeP3NNi1Tb28f6uyxAjEn5EhuPgBJOFkN5_NyZU23O05IF6HAoGniX8X57AcLsscUiZDqtXMM16xIctft66c6cBDAzVF7JowrUAlklVutM/s1600/10.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="478" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkoMT8afsmCoioaFiL-VO0wd9zFkAXJ8_dvCeP3NNi1Tb28f6uyxAjEn5EhuPgBJOFkN5_NyZU23O05IF6HAoGniX8X57AcLsscUiZDqtXMM16xIctft66c6cBDAzVF7JowrUAlklVutM/s640/10.PNG" width="640" /></a></div>
<br />
Step-8:This will show progress of installation of JRE.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibfMZ5x3TN7t_STryOnR52KndKjfDHIK9LyxUdq-dG8wK5OYFFRfbbLNZYdgQ0Pg2SaOFNdMDXXr-ZSuxbZbipAjzDA6xZNbbsCoo8kHsntqKAd-hGKc-Io7a1KqTWTKR9Eel1HJkENHk/s1600/11.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="481" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibfMZ5x3TN7t_STryOnR52KndKjfDHIK9LyxUdq-dG8wK5OYFFRfbbLNZYdgQ0Pg2SaOFNdMDXXr-ZSuxbZbipAjzDA6xZNbbsCoo8kHsntqKAd-hGKc-Io7a1KqTWTKR9Eel1HJkENHk/s640/11.PNG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator">
</div>
<div style="font-size: 18px;">
Installation is done......</div>
<br /></div>
Raj Sathawarahttp://www.blogger.com/profile/10449932542106735579noreply@blogger.com0tag:blogger.com,1999:blog-1035774719082626060.post-85909086583915087322016-08-06T02:24:00.004-07:002023-08-26T22:25:58.455-07:00Java Development Kit<div dir="ltr" style="text-align: left;" trbidi="on">
<style>
</style>
<br />
<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
The Java Development Kit (JDK) is an implementation of either one of the Java Platform, Standard Edition, Java Platform, Enterprise Edition or Java Platform, Micro Edition platforms released by Oracle Corporation in the form of a binary product aimed at Java developers on Solaris, Linux, Mac OS X or Windows. The JDK includes a private JVM and a few other resources to finish the development of a Java Application. Since the introduction of the Java platform, it has been by far the most widely used Software Development Kit (SDK). On 17 November 2006, Sun announced that they would release it under the GNU General Public License (GPL), thus making it free software. This happened in large part on 8 May 2007, when Sun contributed the source code to the OpenJDK.
<br />
<br />
<br />
<span style="font-size: large;">JDK contents
</span><br />
====================================================================================================The JDK has as its primary components a collection of programming tools, including:
</div>
<br />
<br />
<ul style="text-align: left;">
<li>appletviewer – this tool can be used to run and debug Java applets without a web browser
</li>
<li>apt – the annotation-processing tool[4]
</li>
<li>extcheck – a utility that detects JAR file conflicts
</li>
<li>idlj – the IDL-to-Java compiler. This utility generates Java bindings from a given Java IDL file.
</li>
<li>jabswitch – the Java Access Bridge. Exposes assistive technologies on Microsoft Windows systems.
</li>
<li>java – the loader for Java applications. This tool is an interpreter and can interpret the class files generated by the javac compiler. Now a single launcher is used for both development and deployment. The old deployment launcher, jre, no longer comes with Sun JDK, and instead it has been replaced by this new java loader.
</li>
<li>javac – the Java compiler, which converts source code into Java bytecode
</li>
<li>javadoc – the documentation generator, which automatically generates documentation from source code comments
</li>
<li>jar – the archiver, which packages related class libraries into a single JAR file. This tool also helps manage JAR files.
</li>
<li>javafxpackager – tool to package and sign JavaFX applications
</li>
<li>jarsigner – the jar signing and verification tool
</li>
<li>javah – the C header and stub generator, used to write native methods
</li>
<li>javap – the class file disassembler
</li>
<li>javaws – the Java Web Start launcher for JNLP applications
</li>
<li>JConsole – Java Monitoring and Management Console
</li>
<li>jdb – the debugger
</li>
<li>jhat – Java Heap Analysis Tool (experimental)
</li>
<li>jinfo – This utility gets configuration information from a running Java process or crash dump. (experimental)
</li>
<li>jmap – This utility outputs the memory map for Java and can print shared object memory maps or heap memory details of a given process or core dump. (experimental)
</li>
<li>jmc – Java Mission Control
</li>
<li>jps – Java Virtual Machine Process Status Tool lists the instrumented HotSpot Java Virtual Machines (JVMs) on the target system. (experimental)
</li>
<li>jrunscript – Java command-line script shell.
</li>
<li>jstack – utility that prints Java stack traces of Java threads (experimental)
</li>
<li>jstat – Java Virtual Machine statistics monitoring tool (experimental)
</li>
<li>jstatd – jstat daemon (experimental)
</li>
<li>keytool – tool for manipulating the keystore
</li>
<li>pack200 – JAR compression tool
</li>
<li>policytool – the policy creation and management tool, which can determine policy for a Java runtime, specifying which permissions are available for code from various sources
</li>
<li>VisualVM – visual tool integrating several command-line JDK tools and lightweight[clarification needed] performance and memory profiling capabilities
</li>
<li>wsimport – generates portable JAX-WS artifacts for invoking a web service.
</li>
<li>xjc – Part of the Java API for XML Binding (JAXB) API. It accepts an XML schema and generates Java classes.
</li>
</ul>
<center>
<button><a href="http://ocean-tutorials.blogspot.in/p/jdk-downloads.html" style="color: black; text-decoration: none;border: none; font-size: 15px; font-weight: bolder; height: 50px; width: 140px;" target="_blank">Go Download Page</a></button>
</center>
</div>
</div>
Raj Sathawarahttp://www.blogger.com/profile/10449932542106735579noreply@blogger.com0