{"id":76614,"date":"2020-02-20T09:55:42","date_gmt":"2020-02-20T04:25:42","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=76614"},"modified":"2020-02-20T09:55:42","modified_gmt":"2020-02-20T04:25:42","slug":"java-installation","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/java-installation\/","title":{"rendered":"Java Installation (Ubuntu and Windows) &#8211; A Complete Step-by-Step Guide for Beginners!"},"content":{"rendered":"<p>We know that Java is the king of all programming languages and it is one of the most widely used programming languages among enterprises and users. It can be used to develop anything ranging from any kind of software to a web-based application.<\/p>\n<p>In this article, we will learn the installation of Java on the Ubuntu and Windows platform. The latest version of Java is Java 13 which Oracle released in 2019.<\/p>\n<h3>Java Installation<\/h3>\n<p>The Linux team has developed an installer script that automatically downloads and installs Oracle JDK 13.<\/p>\n<h4>Java Installation on Ubuntu<\/h4>\n<p>Here is a step-by-step and simple process to install the latest version of Java &#8211;<\/p>\n<p><strong>Step 1:<\/strong><\/p>\n<p>Open the terminal either by searching \u2018terminal\u2019 in the menu or just by shortcut <strong>Ctrl+Alt+T<\/strong>. When it opens, run commands to add the PPA (Personal Package Archives):<\/p>\n<p>sudo add-apt-repository ppa:linuxuprising\/java<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76778\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-1.png\" alt=\"step 1 java install\" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p><strong>Step 2 :<\/strong><\/p>\n<p>Now, type your Login password and press <strong>\u2018Enter<\/strong>\u2019 to continue. The following screen will appear &#8211;<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76779\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-2.png\" alt=\"java install step 2\" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76780\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-3.png\" alt=\"step 3 java install\" width=\"1299\" height=\"739\" \/><\/a><\/p>\n<p><strong>Step 3:<\/strong><\/p>\n<p>Then check updates and install the script via following 2 commands:<\/p>\n<p>sudo apt-get update<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76781\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-4.png\" alt=\"step 4 java install\" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p>sudo apt-get install oracle-java13-installer<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76782\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-5.png\" alt=\"java-installation-5\" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p>This command will automatically download Java 13 source tarball, installs on 64-bit Ubuntu, and also sets it as default.<\/p>\n<p><strong>Step 4:<\/strong><\/p>\n<p>After that, it will ask you to accept the license agreement as shown below:<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76783\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-6.png\" alt=\"java install 6\" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p><strong>Step 5:<\/strong><\/p>\n<p>Click <strong>\u2018Yes\u2019<\/strong> to continue:<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76793\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install.png\" alt=\"Java-install\" width=\"1298\" height=\"745\" \/><\/a><\/p>\n<p>The following screen will appear:<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76785\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-8.png\" alt=\"java install 8\" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p><strong>Step 6:<\/strong><\/p>\n<p>Check the result via the following command:<\/p>\n<p>java &#8211;version or java -version<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76786\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-9.png\" alt=\"java install 9\" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<h4>Java Installation on Windows<\/h4>\n<p>The following are steps to install Java in Windows platform &#8211;<\/p>\n<p><strong>Step 1:<\/strong><\/p>\n<p>Click on the following site to download Java: <strong>http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/index.html.<\/strong><\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-window-install-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76794\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-window-install-1.png\" alt=\"java install window\" width=\"1348\" height=\"647\" \/><\/a><\/p>\n<p><strong>Step 2:<\/strong><\/p>\n<p>Click on the JDK Download option. After that, check the box of the Accept License Agreement. Download the latest Java JDK for your version (32 or 64 bit) of Java for Windows.<\/p>\n<p><strong><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-window-install-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76795\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-window-install-2.png\" alt=\"Java Installation windows\" width=\"1350\" height=\"658\" \/><\/a><\/strong><\/p>\n<p><strong>Step 3:<\/strong><\/p>\n<p>Select the option of Download in Windows x64 Installer. You will see the following screen<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-window-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76796\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-window-4.png\" alt=\"Java-install-window-4\" width=\"1108\" height=\"303\" \/><\/a><\/p>\n<p><strong>Step 4:<\/strong><\/p>\n<p>Once the download is complete, run the exe to install JDK on your windows machine. Click <strong>Next<\/strong>.<\/p>\n<p><strong><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-window-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76797\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-window-5.png\" alt=\"java-install-window-5\" width=\"499\" height=\"379\" \/><\/a><\/strong><\/p>\n<p><strong>Step 5:<\/strong><\/p>\n<p>Select the <strong>PATH<\/strong> for Java installation and click the <strong>Next<\/strong> button.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-window-6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76798\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-window-6.png\" alt=\"Java-install-window-6\" width=\"498\" height=\"379\" \/><\/a><\/p>\n<p>The following screen will appear<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-9-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76799\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-9-1.png\" alt=\"java install windows\" width=\"498\" height=\"379\" \/><\/a><\/p>\n<p><strong>Step 6:<\/strong><\/p>\n<p>Once the installation is complete click the <strong>Close<\/strong> Button:<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-installation-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76800\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-installation-10.png\" alt=\"Java-installation-10\" width=\"495\" height=\"379\" \/><\/a><\/p>\n<h3>Setting the Environment Variables in Java: Path and Classpath<\/h3>\n<p>The PATH variable gives the location of executable files like javac, java, etc.<\/p>\n<p>It is possible to run a program without specifying the complete PATH, but you will need to give full path of executable file like <strong>C:\\ProgramFiles\\Java\\jdk-13.0.1\\bin\\javac MyClass.java<\/strong> instead of simply writing the file name like <strong>javac MyClass.java<\/strong><\/p>\n<p>The CLASSPATH variable gives the location of the Library Files. Let&#8217;s look into the steps to set the PATH and CLASSPATH variables.<\/p>\n<p><strong>Step 1:<\/strong><\/p>\n<p>Right Click on the <strong>My Computer<\/strong> and Select the <strong>properties<\/strong> as shown below<a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76801\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-11.png\" alt=\"java-install-11\" width=\"263\" height=\"308\" \/><\/a><\/p>\n<p><strong>Step 2:<\/strong><\/p>\n<p>Click on the <strong>advanced system settings<\/strong> link.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76802\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-12.png\" alt=\"Java install 12\" width=\"1366\" height=\"728\" \/><\/a><\/p>\n<p><strong>Step 3:<\/strong><\/p>\n<p>After that, click on the <strong>Environment Variables<\/strong> button.<\/p>\n<p><strong><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76804\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-14.png\" alt=\"Java install 14\" width=\"411\" height=\"466\" \/><\/a><\/strong><\/p>\n<p><strong>Step 4:<\/strong><\/p>\n<p>Click the new Button of User variables.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-15.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76805\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-15.png\" alt=\"Java installation 15\" width=\"1366\" height=\"727\" \/><\/a><\/p>\n<p><strong>Step 5:<\/strong><\/p>\n<p>Type PATH in the Variable name textbox:<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-16.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76806\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/Java-install-16.png\" alt=\"Java Installation \" width=\"654\" height=\"585\" \/><\/a><\/p>\n<p><strong>Step 6:<\/strong><\/p>\n<p>Copy the path of the bin folder from the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Java_Development_Kit\">JDK<\/a> folder from the c drive.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-17.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76807\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-install-17.png\" alt=\"java install 17\" width=\"1366\" height=\"729\" \/><\/a><\/p>\n<p><strong>Step 7:<\/strong><\/p>\n<p>Paste Path of bin folder in Variable value textbox and click the <strong>OK<\/strong> button.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76808\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-18.png\" alt=\"java installation 18\" width=\"1366\" height=\"728\" \/><\/a><\/p>\n<p><em><strong>Note:<\/strong> In case you already have a PATH variable created in your PC, edit the PATH variable to <\/em><br \/>\n<em>PATH = &lt;JDK installation directory&gt;\\bin;%PATH%;<\/em><br \/>\n<em>Here, %PATH% appends the existing path variable to the new value of PATH<\/em><\/p>\n<p><strong>Step 8:<\/strong><\/p>\n<p>Follow a similar process to set CLASSPATH variable.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76809\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-19.png\" alt=\"Classpath variable\" width=\"1366\" height=\"728\" \/><\/a><\/p>\n<p><em><strong>Note:<\/strong> In case your java installation does not work after installation, change classpath to CLASSPATH = &lt;JDK installation directory&gt;\\lib\\tools.jar;<\/em><\/p>\n<p><strong>Step 9:<\/strong><\/p>\n<p>Click on <strong>OK<\/strong> button<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76810\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-20.png\" alt=\"java-installation-20\" width=\"1366\" height=\"728\" \/><\/a><\/p>\n<p><strong>Step 10:<\/strong><\/p>\n<p>Go to command prompt and type the command:<strong> javac<\/strong>. If you see a screen like below, Java is installed.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76811\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-installation-21.png\" alt=\"java-installation-21\" width=\"1366\" height=\"728\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>Here we come to the end of our article. In this tutorial, we explored a step by step guide on how to install Java on Ubuntu and Windows. This article will surely help to successfully install Java in your Ubuntu as well as the Windows machine.<\/p>\n<p>Thank you for reading our article.<\/p>\n<p>Furthermore, if you have any queries, do let us know through the comment box below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We know that Java is the king of all programming languages and it is one of the most widely used programming languages among enterprises and users. It can be used to develop anything ranging&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":76812,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[183],"tags":[1803,1804,1805,1806,1807,1808,1809],"class_list":["post-76614","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java","tag-how-to-install-java","tag-install-java-jdk","tag-install-jdk","tag-installation-of-java","tag-java-installation","tag-java-installation-in-ubuntu","tag-java-installation-in-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Java Installation (Ubuntu and Windows) - A Complete Step-by-Step Guide for Beginners! - TechVidvan<\/title>\n<meta name=\"description\" content=\"Get an easy brief on Java Installation. Here, you will get a complete step-by-step guide on how to install latest version of Java on Ubuntu and Windows.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/java-installation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java Installation (Ubuntu and Windows) - A Complete Step-by-Step Guide for Beginners! - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Get an easy brief on Java Installation. Here, you will get a complete step-by-step guide on how to install latest version of Java on Ubuntu and Windows.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/java-installation\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-20T04:25:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-installation-on-ubuntu-and-windows.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java Installation (Ubuntu and Windows) - A Complete Step-by-Step Guide for Beginners! - TechVidvan","description":"Get an easy brief on Java Installation. Here, you will get a complete step-by-step guide on how to install latest version of Java on Ubuntu and Windows.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/techvidvan.com\/tutorials\/java-installation\/","og_locale":"en_US","og_type":"article","og_title":"Java Installation (Ubuntu and Windows) - A Complete Step-by-Step Guide for Beginners! - TechVidvan","og_description":"Get an easy brief on Java Installation. Here, you will get a complete step-by-step guide on how to install latest version of Java on Ubuntu and Windows.","og_url":"https:\/\/techvidvan.com\/tutorials\/java-installation\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2020-02-20T04:25:42+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-installation-on-ubuntu-and-windows.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/java-installation\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-installation\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Java Installation (Ubuntu and Windows) &#8211; A Complete Step-by-Step Guide for Beginners!","datePublished":"2020-02-20T04:25:42+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-installation\/"},"wordCount":701,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-installation\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-installation-on-ubuntu-and-windows.jpg","keywords":["How to install JAVA","Install Java JDK","Install JDK","Installation of Java","Java installation","Java Installation in Ubuntu","Java Installation in Windows"],"articleSection":["Java Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/java-installation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/java-installation\/","url":"https:\/\/techvidvan.com\/tutorials\/java-installation\/","name":"Java Installation (Ubuntu and Windows) - A Complete Step-by-Step Guide for Beginners! - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-installation\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-installation\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-installation-on-ubuntu-and-windows.jpg","datePublished":"2020-02-20T04:25:42+00:00","description":"Get an easy brief on Java Installation. Here, you will get a complete step-by-step guide on how to install latest version of Java on Ubuntu and Windows.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-installation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/java-installation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/java-installation\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-installation-on-ubuntu-and-windows.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-installation-on-ubuntu-and-windows.jpg","width":802,"height":420,"caption":"Java Installation"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/java-installation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Java Installation (Ubuntu and Windows) &#8211; A Complete Step-by-Step Guide for Beginners!"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/76614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=76614"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/76614\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/76812"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=76614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=76614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=76614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}