{"id":2899,"date":"2023-06-09T16:00:55","date_gmt":"2023-06-09T16:00:55","guid":{"rendered":"https:\/\/msgprogramator.sk\/?p=2899"},"modified":"2025-09-25T10:40:43","modified_gmt":"2025-09-25T10:40:43","slug":"java-ide-eclipse","status":"publish","type":"post","link":"https:\/\/msgprogramator.sk\/en\/java-ide-eclipse\/","title":{"rendered":"Java Tutorial: How to install Java and the Eclipse IDE on Windows"},"content":{"rendered":"<p>Here is the second part of the series with instructions on installing the Java IDE. In the last part we covered the installation of the Java and <a href=\"https:\/\/msgprogramator.sk\/en\/java-ide-apache-netbeans\/\">Apache Netbeans<\/a> IDE on Windows. And in the third part we covered the installation of <a href=\"https:\/\/msgprogramator.sk\/en\/java-intellij-idea\/\">Java IntelliJ<\/a> IDEA. Today we&#8217;re going to show you how to install Java and the Eclipse IDE on a Windows machine, step by step.<\/p>\n<p><strong>Eclipse<\/strong> is open-source software, popular among Java developers because it is a Java-based development environment that has been around for more than 20 years. In that time, it has built up a huge user community. It has a wide range of plugins to help you customize the environment to suit your project. Eclipse supports multiple languages such as <strong>Java<\/strong>, <strong>C<\/strong>, <strong>C++<\/strong>, <strong>HTML<\/strong>, <strong>PHP<\/strong> and many more. In addition, Eclipse includes advanced tools such as <strong>DOCKER<\/strong> to better organize your project packages and support for <a href=\"https:\/\/msgprogramator.sk\/en\/git-github\/\"><strong>GIT<\/strong><\/a> to track changes to existing files.<\/p>\n<p>However, it is important to note that the choice of an <strong>IDE <\/strong>(integrated development environment) is subjective and depends on personal preferences and project requirements. Some developers may prefer <strong>NetBeans<\/strong> or <strong>IntelliJ IDEA<\/strong> over Eclipse out of personal preference. It&#8217;s always a good idea to try out different IDEs and see which one suits you best.<\/p>\n<p>Before we start, it&#8217;s important to mention that Java is always installed before Eclipse, as it depends on it and will save you unnecessary trouble later.<\/p>\n<h2>Java installation:<\/h2>\n<p>Step 1: Download the latest version of Java from the official website &#8211; <a href=\"https:\/\/www.oracle.com\/java\/technologies\/downloads\/\" target=\"_blank\" rel=\"nofollow noopener\">Java download<\/a>:<\/p>\n<p>There are <strong>Windows<\/strong>, <strong>Linux <\/strong> and <strong>MacOS <\/strong> versions available. Select the Windows version.<\/p>\n<figure id=\"attachment_1799\" aria-describedby=\"caption-attachment-1799\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-991 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/01-text-obrazok-1200-890-text.webp\" alt=\"Choosing the right Java JDK version\" width=\"1200\" height=\"890\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/01-text-obrazok-1200-890-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/01-text-obrazok-1200-890-text-300x223.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/01-text-obrazok-1200-890-text-1024x759.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/01-text-obrazok-1200-890-text-768x570.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1799\" class=\"wp-caption-text\">Choosing the right Java JDK version<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<div class=\"inside\"><\/div>\n<p>Step 2: Once the download is complete, double-click on the downloaded file to start the installation.<\/p>\n<p>Step 3: Click <em>Next <\/em> and select the path where you want to install Java (we recommend leaving the default path), then click <em>Next <\/em> to start the installation.<\/p>\n<figure id=\"attachment_1788\" aria-describedby=\"caption-attachment-1788\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-978 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/02-text-obrazok-1200-900-text.webp\" alt=\"Java JDK installation process\" width=\"1200\" height=\"900\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/02-text-obrazok-1200-900-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/02-text-obrazok-1200-900-text-300x225.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/02-text-obrazok-1200-900-text-1024x768.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/02-text-obrazok-1200-900-text-768x576.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1788\" class=\"wp-caption-text\">Java JDK installation process<\/figcaption><\/figure>\n<p>Step 4: Once the installation is complete, you can still view the documentation on the <a href=\"https:\/\/docs.oracle.com\/en\/java\/javase\/20\/index.html\" target=\"_blank\" rel=\"nofollow noopener\">Oracle website<\/a> by clicking the <em>Next Steps<\/em> button.<\/p>\n<p>Click <em>Close<\/em> to complete the installation process.<\/p>\n<p>Step 5: Verify that Java is correctly installed by opening a command prompt (cmd command) and typing <strong><em>java -version<\/em><\/strong>. If Java is installed correctly, the version number should be displayed.<\/p>\n<figure id=\"attachment_1789\" aria-describedby=\"caption-attachment-1789\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-979 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/03-text-obrazok-1200-670-text.webp\" alt=\"The JDK installation is successful if it displays the installed version number\" width=\"1200\" height=\"670\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/03-text-obrazok-1200-670-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/03-text-obrazok-1200-670-text-300x168.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/03-text-obrazok-1200-670-text-1024x572.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/03-text-obrazok-1200-670-text-768x429.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1789\" class=\"wp-caption-text\">The JDK installation is successful if it displays the installed version number<\/figcaption><\/figure>\n<h2>Installing the Eclipse IDE<\/h2>\n<p>Now that we have our preferred version of Java installed, we will install the Eclipse IDE.<\/p>\n<p>Step 1: Download the latest version of Eclipse from the official website &#8211; <a href=\"https:\/\/www.eclipse.org\/downloads\/\" target=\"_blank\" rel=\"nofollow noopener\">Java Eclipse download<\/a>.<\/p>\n<figure id=\"attachment_1790\" aria-describedby=\"caption-attachment-1790\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-980 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/04-text-obrazok-1200-1000-text.webp\" alt=\"Eclipse always offers the latest version for download\" width=\"1200\" height=\"1000\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/04-text-obrazok-1200-1000-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/04-text-obrazok-1200-1000-text-300x250.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/04-text-obrazok-1200-1000-text-1024x853.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/04-text-obrazok-1200-1000-text-768x640.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1790\" class=\"wp-caption-text\">Eclipse always offers the latest version for download<\/figcaption><\/figure>\n<p>Step 2: Downloading the Eclipse IDE for Java developers is easy as it will automatically offer the latest version of the program and the default download location. Press Download on both screens.<\/p>\n<figure id=\"attachment_1791\" aria-describedby=\"caption-attachment-1791\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-981 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/05-text-obrazok-1200-680-text.webp\" alt=\"Select the location from which to download the software\" width=\"1200\" height=\"680\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/05-text-obrazok-1200-680-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/05-text-obrazok-1200-680-text-300x170.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/05-text-obrazok-1200-680-text-1024x580.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/05-text-obrazok-1200-680-text-768x435.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1791\" class=\"wp-caption-text\">Select the location from which to download the software<\/figcaption><\/figure>\n<p>Step 3: Once the download is complete, double-click the Eclipse executable file to launch the Eclipse installer.<\/p>\n<p>Step 4: You will be given the opportunity to select the Eclipse configuration that suits your needs. Select the first option as we will be using Eclipse primarily for Java application development.<\/p>\n<figure id=\"attachment_1792\" aria-describedby=\"caption-attachment-1792\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-982 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/06-text-obrazok-1200-920-text.webp\" alt=\"Eclipse offers many configurations to choose from\" width=\"1200\" height=\"920\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/06-text-obrazok-1200-920-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/06-text-obrazok-1200-920-text-300x230.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/06-text-obrazok-1200-920-text-1024x785.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/06-text-obrazok-1200-920-text-768x589.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1792\" class=\"wp-caption-text\">Eclipse offers many configurations to choose from<\/figcaption><\/figure>\n<p>Step 5A: The following screen allows you to select the installation directory. However, if you see a red rectangle with an error, it means that the directory you have selected is read-only, so you will need to re-run the Eclipse installation, this time with administrator privileges. Alternatively, select another directory where you have write access.<\/p>\n<figure id=\"attachment_1793\" aria-describedby=\"caption-attachment-1793\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-983 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/07a-text-obrazok-1200-920-text.webp\" alt=\"You need administrator rights to write to the selected directory\" width=\"1200\" height=\"920\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/07a-text-obrazok-1200-920-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/07a-text-obrazok-1200-920-text-300x230.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/07a-text-obrazok-1200-920-text-1024x785.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/07a-text-obrazok-1200-920-text-768x589.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1793\" class=\"wp-caption-text\">You need administrator rights to write to the selected directory<\/figcaption><\/figure>\n<p>Step 5B: After running the Eclipse installation with administrator rights, the previous error message has disappeared and the <em>Install <\/em> button is available. Before you press it, you may notice that Eclipse has automatically detected where you have installed the Java JDK. Click on <em>Install<\/em>.<\/p>\n<figure id=\"attachment_1794\" aria-describedby=\"caption-attachment-1794\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-984 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/07b-text-obrazok-1200-870-text.webp\" alt=\"Eclipse installation is very user friendly, it detects the correct Java JDK version by itself\" width=\"1200\" height=\"870\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/07b-text-obrazok-1200-870-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/07b-text-obrazok-1200-870-text-300x218.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/07b-text-obrazok-1200-870-text-1024x742.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/07b-text-obrazok-1200-870-text-768x557.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1794\" class=\"wp-caption-text\">Eclipse installation is very user friendly, it detects the correct Java JDK version by itself<\/figcaption><\/figure>\n<p>Step 6: During the installation, you may be surprised by a new window asking if you trust unsigned content. This happens because the Eclipse version does not yet know the latest versions of the identifiers from the JDK packages. Tick the <em>Select All<\/em> box and press the <em>Trust Selected<\/em> button.<\/p>\n<figure id=\"attachment_1795\" aria-describedby=\"caption-attachment-1795\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-985 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/08-text-obrazok-1200-880-text.webp\" alt=\"You may also encounter unsigned package contents during installation\" width=\"1200\" height=\"880\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/08-text-obrazok-1200-880-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/08-text-obrazok-1200-880-text-300x220.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/08-text-obrazok-1200-880-text-1024x751.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/08-text-obrazok-1200-880-text-768x563.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1795\" class=\"wp-caption-text\">You may also encounter unsigned package contents during installation<\/figcaption><\/figure>\n<p>Step 7: If the installation is successful, click <em>Launch <\/em> to start Eclipse.<\/p>\n<figure id=\"attachment_1796\" aria-describedby=\"caption-attachment-1796\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-986 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/09-text-obrazok-1200-880-text.webp\" alt=\"This is what a successful Eclipse installation looks like\" width=\"1200\" height=\"880\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/09-text-obrazok-1200-880-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/09-text-obrazok-1200-880-text-300x220.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/09-text-obrazok-1200-880-text-1024x751.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/09-text-obrazok-1200-880-text-768x563.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1796\" class=\"wp-caption-text\">This is what a successful Eclipse installation looks like<\/figcaption><\/figure>\n<p>Step 8: In the initial window, Eclipse asks you where you want to create your workspace.<\/p>\n<div class=\"inside\"><\/div>\n<p>If you are happy with the default path, click <em>Launch<\/em>.<\/p>\n<figure id=\"attachment_1797\" aria-describedby=\"caption-attachment-1797\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-987 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/10-text-obrazok-1200-620-text.webp\" alt=\"Eclipse needs to know where your workspace will be - Workspace\" width=\"1200\" height=\"620\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/10-text-obrazok-1200-620-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/10-text-obrazok-1200-620-text-300x155.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/10-text-obrazok-1200-620-text-1024x529.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/10-text-obrazok-1200-620-text-768x397.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1797\" class=\"wp-caption-text\">Eclipse needs to know where your workspace will be &#8211; Workspace<\/figcaption><\/figure>\n<p>Congratulations! You have successfully installed Java and Eclipse on your Windows machine. You&#8217;re now ready to start programming in Java.<\/p>\n<figure id=\"attachment_1798\" aria-describedby=\"caption-attachment-1798\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-988 size-full\" src=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/11-text-obrazok-1200-820-text.webp\" alt=\"Eclipse welcome screen\" width=\"1200\" height=\"820\" srcset=\"https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/11-text-obrazok-1200-820-text.webp 1200w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/11-text-obrazok-1200-820-text-300x205.webp 300w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/11-text-obrazok-1200-820-text-1024x700.webp 1024w, https:\/\/msgprogramator.sk\/wp-content\/uploads\/2023\/06\/11-text-obrazok-1200-820-text-768x525.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1798\" class=\"wp-caption-text\">Eclipse welcome screen<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The second part of the Java IDE installation tutorial series is here! How to install Java and Eclipse on Windows?<\/p>\n","protected":false},"author":14,"featured_media":1841,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[56,57],"tags":[],"class_list":["post-2899","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developer-tools","category-java"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/msgprogramator.sk\/en\/wp-json\/wp\/v2\/posts\/2899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/msgprogramator.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/msgprogramator.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/msgprogramator.sk\/en\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/msgprogramator.sk\/en\/wp-json\/wp\/v2\/comments?post=2899"}],"version-history":[{"count":5,"href":"https:\/\/msgprogramator.sk\/en\/wp-json\/wp\/v2\/posts\/2899\/revisions"}],"predecessor-version":[{"id":9131,"href":"https:\/\/msgprogramator.sk\/en\/wp-json\/wp\/v2\/posts\/2899\/revisions\/9131"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/msgprogramator.sk\/en\/wp-json\/wp\/v2\/media\/1841"}],"wp:attachment":[{"href":"https:\/\/msgprogramator.sk\/en\/wp-json\/wp\/v2\/media?parent=2899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/msgprogramator.sk\/en\/wp-json\/wp\/v2\/categories?post=2899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/msgprogramator.sk\/en\/wp-json\/wp\/v2\/tags?post=2899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}