{"id":59468,"date":"2024-09-23T11:30:00","date_gmt":"2024-09-23T06:00:00","guid":{"rendered":"https:\/\/www.guvi.in\/blog\/?p=59468"},"modified":"2025-10-28T13:25:13","modified_gmt":"2025-10-28T07:55:13","slug":"complete-java-installation-guide","status":"publish","type":"post","link":"https:\/\/www.guvi.in\/blog\/complete-java-installation-guide\/","title":{"rendered":"The Complete Java Installation Guide: Steps to Get Started"},"content":{"rendered":"\n<p>Java is an important programming language that every developer should know in order to crack full-stack development. The important first step for that is Java Installation!<\/p>\n\n\n\n<p>If you are confused about how to do so, this article is there to help you out! This is a step-by-step guide on Java installation. So, without any delay let us get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Java Installation: A Step-by-Step Guide<\/strong><\/h2>\n\n\n\n<p><strong>Step 1:<\/strong><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXe2n_dncLF4XOmFrEONtHwQpbkaU8F8YPon059nNErVAIS_6t3qlN2kRiDuSNIxxUt062YsHb8SCcdnaeQbXz63cJ10u5cSGN5DnYS5SZ6gTDy9XWWfI9Agt6ErUWD4XKvAuI0YHQWw4PMZnhkE6rLWrFUAqSw0LXXb24GQuGVDeU7uBfhl_Qw?key=eQppOIowd3U3ROB2rUwchg\" width=\"8\" height=\"15\" alt=\"\" title=\"\"><\/p>\n\n\n\n<p>&nbsp;Open the <a href=\"https:\/\/www.oracle.com\/java\/technologies\/downloads\/?er=221886\" target=\"_blank\" rel=\"noreferrer noopener\">Java Downloads<\/a> in the browser and it will navigate to the official Oracle Java downloads page.<\/p>\n\n\n\n<p><strong>Step 2:&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li>Select version of the Java which we want to download. <\/li>\n\n\n\n<li>Select the operating system.<\/li>\n\n\n\n<li>Step 3: Scroll down to the page and click on the URL option suitable for your computer Operating system. But for a 64-bit machine, choose the software name ending with x64.<\/li>\n<\/ul>\n\n\n\n<p><strong>x64MIS Installer<\/strong> -windows&nbsp;&nbsp;<\/p>\n\n\n\n<p><strong>x64 DMG Installer &#8211;<\/strong>macOs<br><img decoding=\"async\" width=\"808\" height=\"347\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcIERprfWyxyeckSDhldgQAjQA48tocqcFzsQSkSiFeTZ7Hrr9MrbC1gWkGfjO5VXVXwZYY9_dI-nUzU18qmkMPnpT4sVinqCodQzfekkyJ3igVZjpL3G11Y2F01ynXF9UwlSOHEtSjreJkwKb5Wyjdx6MNtSrYjTlUQd345kK6jqvgIrmfaQ?key=eQppOIowd3U3ROB2rUwchg\" alt=\"\" title=\"\"><img decoding=\"async\" width=\"9\" height=\"15\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcDO8cqQROtJHLJiX2Uw_CW3PZYRZtLCexqtXpmoWqbgGhB4aT7w_9CCrwxoVbzbRraXEBKpxHlzPP3tHj3xq_dZfdFHHhhmNp4c5hDFTEXqvjROYejxpUWUWzk5-zrUvzbu5sBL4hmDw3xAj4n_zFKgSTnl9y0f5wPQgswz5vaNGM8I6fJL8U?key=eQppOIowd3U3ROB2rUwchg\" alt=\"\" title=\"\"><img decoding=\"async\" width=\"8\" height=\"15\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXe2n_dncLF4XOmFrEONtHwQpbkaU8F8YPon059nNErVAIS_6t3qlN2kRiDuSNIxxUt062YsHb8SCcdnaeQbXz63cJ10u5cSGN5DnYS5SZ6gTDy9XWWfI9Agt6ErUWD4XKvAuI0YHQWw4PMZnhkE6rLWrFUAqSw0LXXb24GQuGVDeU7uBfhl_Qw?key=eQppOIowd3U3ROB2rUwchg\" alt=\"\" title=\"\"><img decoding=\"async\" width=\"8\" height=\"15\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXe2n_dncLF4XOmFrEONtHwQpbkaU8F8YPon059nNErVAIS_6t3qlN2kRiDuSNIxxUt062YsHb8SCcdnaeQbXz63cJ10u5cSGN5DnYS5SZ6gTDy9XWWfI9Agt6ErUWD4XKvAuI0YHQWw4PMZnhkE6rLWrFUAqSw0LXXb24GQuGVDeU7uBfhl_Qw?key=eQppOIowd3U3ROB2rUwchg\" alt=\"\" title=\"\"><\/p>\n\n\n\n<p><strong>Step 3:<\/strong><strong>&nbsp;<\/strong><\/p>\n\n\n\n<p>&nbsp;After the downloading procedure is complete, we need to run the installer<img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfCaNFJ2zSeWKddiQK3lZMjsY1_YGstdOSEQNthESwef6KwBnKkXVsrU7HZnpsB3XGHrlKujbAM7HTAKLNGLJgiMdWCkUS-EyFHLxsoJwd3Z5PIOeFPgk7lrXRugVqaaHeroDTTEbaHywoTB6PcmiRmaUFLg0srAXCFv9aQ2Xy7crAUkornBIY?key=eQppOIowd3U3ROB2rUwchg\" width=\"715\" height=\"50\" alt=\"\" title=\"\"><\/p>\n\n\n\n<p><strong>Step 4:<\/strong><strong>&nbsp;<\/strong><\/p>\n\n\n\n<p>&nbsp;Once Java installation wizard opens, click on the Next button as shown below:<\/p>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcJyMtLqpM8JyHm2Nw_oFm1BMCIHnpixZAwS6Ke0eSt3-ucaTcuGJzfNY_D28MuAiSkGqhHB9IZpcBP6SyCnRLstgmvvN5MNx3lpSKoqMfEEkyQ0n6ITDq4XTrDy29QhlgMOrw_Dy4VzhFJUzXsRa-XRiyyIq3Abl936-vko8cZMd9ZVTsPs2A?key=eQppOIowd3U3ROB2rUwchg\" width=\"497\" height=\"376\" alt=\"\" title=\"\"><\/p>\n\n\n\n<p><strong>Step 5:<\/strong><strong>&nbsp;<\/strong><\/p>\n\n\n\n<p>Again click on the Next button if we wish to install the Java development kit in the default directory(encircled with a green color), or we can change this directory by clicking on the Change button.&nbsp;&nbsp;<br><img decoding=\"async\" width=\"499\" height=\"380\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdj6896PTwi4_aMmiehm58jRUmCYof_ot1rHsU3bBBifScybdOFCE4QUmUuX46Cd4YvrUmlZzpwBMCzp2oEILSxcCooNzqPTmOgQ20osxYRnvbUK6AYtM7jRwPDvqP9OOQjngJ2W-7Vbsn_CG1VhXvReZ4up470szfT8ql8PRrCl79LFsuTyQ?key=eQppOIowd3U3ROB2rUwchg\" alt=\"\" title=\"\"><\/p>\n\n\n\n<p><strong>Step 6:&nbsp;<\/strong><\/p>\n\n\n\n<p>The installation will begin as shown below:<br><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcM8AMQ3YCiNVmDxmBQ7EtykUvAnLtbbnoQHP-fHdAnhDoX1_l2ithw5Elvsg2EtGj-R2cH1c1n9-XPhRRxi1GZU2Id-ln9dWUBtFDG8tmz72x9moZNvmsK0ZsxZ_vXXXrnq-7nWZeUKGiZyaOmKxUwIz0uOYwa9lysECDSTe2fWR1S-4cKTJs?key=eQppOIowd3U3ROB2rUwchg\" width=\"406\" height=\"311\" alt=\"\" title=\"\"><\/p>\n\n\n\n<p><strong>Step 7:<\/strong><\/p>\n\n\n\n<p>Finally, we can click on the Close button after the confirmation window appears which saying that the Java is installed.<br><img decoding=\"async\" width=\"511\" height=\"392\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfC-XI_D_mmHvTcPdEU75JMWdODjP5ZdJmmT4Yzg5tcVbz7hkpXNWhLY8cA0WZB5JMUHOIV7Bje5AbYgeIxkSsVmbOnrkMks0kCN4hvnlygjddK8IvIYAPgAYV3J65QqFE1cjpfUE9Tn-MlLOEeBn6TWZtf4C6eopvo1RSagWwWV09U2eOYlD0?key=eQppOIowd3U3ROB2rUwchg\" alt=\"\" title=\"\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Setting up Environment in Java<\/strong><\/h2>\n\n\n\n<p>After Java installation, you have to set up the environment variable.<\/p>\n\n\n\n<p><strong>Step 1<\/strong>:<\/p>\n\n\n\n<p>Locate the JDK Installation Folder:<\/p>\n\n\n\n<p>After installing the JDK, it&#8217;s important to find out where it&#8217;s installed. By default, java is installed in \u201cC:\\Program Files\\Java\\jdk\\bin\u201d folder OR \u201cC:\\Program Files(x86)\\Java\\jdk\\bin\u201d. In case, you have installed java at any other location, then add that path.<\/p>\n\n\n\n<p><strong>C-drive&nbsp; \ud83e\udc6a Program Files\ud83e\udc6ajava \ud83e\udc6ajdk \ud83e\udc6a bin (copy the path)&nbsp;<\/strong><\/p>\n\n\n\n<p><strong>Step 2:<\/strong><\/p>\n\n\n\n<p>Go to the search bar and search <strong>f<\/strong>or<strong> Environment variable -&gt; <\/strong>click on<strong> Edit system Environment variable.<\/strong><\/p>\n\n\n\n<p>Under the <strong>Advanced System<\/strong> Setting option click on <strong>Environment Variables<\/strong> as highlighted below<strong>.<\/strong><br><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfU1y-hXNiizZFFbtNN5VUiUoZtM2ggHTjm9tV6VTrrDonB0Y69xV6KFCnyjQBtT8bunG9GjbnVadOplLHnKNvFYY5VYqhKS0zMgLsFQ7ppz2BZWXKhBsgZuiXUVkO-AOiATGkZ6ZAj__JkpJpNAJ0M6QpBj3fQUiapUYXl8XNaD4U9n5qkAw?key=eQppOIowd3U3ROB2rUwchg\" width=\"301\" height=\"343\" alt=\"\" title=\"\"><\/p>\n\n\n\n<p><strong>Step 3:<\/strong><\/p>\n\n\n\n<p>Now, you have to alter the \u201c<strong>Path\u201d<\/strong> variable under System variables so that it also contains the path to the Java environment. Select the \u201cPath\u201d variable and click on the <strong>Edit button<\/strong> as highlighted below.<br><img decoding=\"async\" width=\"285\" height=\"319\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfyiXa1rbahJE-PablLw3Pb1LHyZ0D7kQ7LjS9Ep5UvKD-EuqF9B674ii6u37re6G_qu90cma-3k9VgeVsZAnAL7pQTBfneJ42YPVHqkxHAj1HweisxscaHRggG3Qqe7tNkldBIDK0OCs-JuuvY5bjTNnifOi4BOyW1eV7yjAgyUKxtuCxxL8c?key=eQppOIowd3U3ROB2rUwchg\" alt=\"\" title=\"\"><\/p>\n\n\n\n<p><strong>Step 4:<\/strong><\/p>\n\n\n\n<p>You will see a list of different paths, click on the <strong>New<\/strong> button, and then add the path where java is installed. By default, java is installed in \u201cC:\\Program Files\\Java\\jdk\\bin\u201d folder OR \u201cC:\\Program Files(x86)\\Java\\jdk\\bin\u201d. In case, you have installed java at any other location, then add that path.<br><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdyBWb_NDZFLAQzJRn8snJjDUjJDIzXPtOk-BH88li4FfLzUxc9GuBULk5NZoSZERnqrGJlD89PiWPcvf-niWJ2o7cjQi52JNWXEn_65Ww7lhe1atUKWgha2AW1Zozx5vl4pMINILGI9FIyEQWvuvU9d8pXTp3eO_g0IK4_2XV-8yRH478_QMQ?key=eQppOIowd3U3ROB2rUwchg\" width=\"310\" height=\"318\" alt=\"\" title=\"\"><\/p>\n\n\n\n<p><strong>Step 9<\/strong>:&nbsp;<\/p>\n\n\n\n<p>Click on OK, Save the settings, and you are done !! Now to check whether the installation is done correctly, open the <strong>command prompt<\/strong> and type <strong>java &#8211;version<\/strong>. You will see that Java is running on your machine.<\/p>\n\n\n\n<p>This is how you can install Java on your machine!<\/p>\n\n\n\n<p>In case, you want to learn more about Java programming and gain in-depth knowledge on full-stack development, consider enrolling for HCL GUVI&#8217;s <a href=\"https:\/\/www.guvi.in\/zen-class\/full-stack-development-course\/?utm_source=blog&amp;utm_medium=hyperlink&amp;utm_campaign=eclipse-ide-installation\" target=\"_blank\" rel=\"noreferrer noopener\">Certified Full-stack Developer Course<\/a> that teaches you everything from scratch and make sure you master it!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>In conclusion, installing Java and setting up the environment variables is a crucial first step in your journey toward mastering full-stack development. By following this step-by-step guide, you can seamlessly install Java and ensure it&#8217;s correctly configured on your system. <\/p>\n\n\n\n<p>With Java successfully installed and the environment properly set up, you&#8217;re now ready to start building and running Java applications, paving the way for further exploration into <a href=\"https:\/\/www.guvi.in\/blog\/guide-on-backend-development\/\" target=\"_blank\" rel=\"noreferrer noopener\">backend development<\/a> and beyond.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java is an important programming language that every developer should know in order to crack full-stack development. The important first step for that is Java Installation! If you are confused about how to do so, this article is there to help you out! This is a step-by-step guide on Java installation. So, without any delay [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":64337,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[294,720],"tags":[],"views":"5012","authorinfo":{"name":"Lavish Jain","url":"https:\/\/www.guvi.in\/blog\/author\/lavish-jain\/"},"thumbnailURL":"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2024\/09\/the_complete_java_installation_guide_steps_to_get_started_1x-300x116.webp","jetpack_featured_media_url":"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2024\/09\/the_complete_java_installation_guide_steps_to_get_started_1x.webp","_links":{"self":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/59468"}],"collection":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/comments?post=59468"}],"version-history":[{"count":6,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/59468\/revisions"}],"predecessor-version":[{"id":91477,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/59468\/revisions\/91477"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/media\/64337"}],"wp:attachment":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/media?parent=59468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/categories?post=59468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/tags?post=59468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}