{"id":287,"date":"2010-06-13T23:13:50","date_gmt":"2010-06-13T17:43:50","guid":{"rendered":"http:\/\/JitendraZaa.com\/blog\/?p=287"},"modified":"2010-06-13T23:13:50","modified_gmt":"2010-06-13T17:43:50","slug":"install-sun-java-6-on-ubuntu-10-04","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/java\/install-sun-java-6-on-ubuntu-10-04\/","title":{"rendered":"How to Install java on Ubuntu 10 and Ubuntu 11"},"content":{"rendered":"<div>Run below command on the terminal of ubuntu to install the JAVA.<\/div>\n<div>Ubuntu 10 :<\/div>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\t$ sudo add-apt-repository &quot;deb\u00a0http:\/\/archive.canonical.com\/lucid partner&quot;\n\t$\u00a0sudo apt-get update\n\t$\u00a0sudo apt-get install sun-java6-jdk\n\t$\u00a0sudo apt-get install sun-java6-jre\n<\/pre>\n<p>Ubuntu 11:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo add-apt-repository ppa:ferramroberto\/java\nsudo apt-get update\nsudo apt-get install sun-java6-jdk sun-java6-jre\nsudo update-alternatives --config java\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Run below command on the terminal of ubuntu to install the JAVA. Ubuntu 10 : $ sudo add-apt-repository &quot;deb\u00a0http:\/\/archive.canonical.com\/lucid partner&quot; $\u00a0sudo apt-get update $\u00a0sudo apt-get install sun-java6-jdk $\u00a0sudo apt-get install sun-java6-jre Ubuntu 11: sudo add-apt-repository ppa:ferramroberto\/java sudo apt-get update sudo apt-get install sun-java6-jdk sun-java6-jre sudo update-alternatives &#8211;config java<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[3,27],"tags":[329,339,205],"class_list":["post-287","post","type-post","status-publish","format-standard","hentry","category-java","category-linux","tag-java","tag-linux","tag-ubuntu"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":49,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/linux\/install-mysql-and-query-browser-in-ubuntu\/","url_meta":{"origin":287,"position":0},"title":"Install MySQL and Query Browser in Ubuntu","author":"Jitendra","date":"May 9, 2010","format":false,"excerpt":"To open the Terminal, go to Application > Accessories > Terminal Type the following command at terminal. $sudo apt-get install mysql-server mysql comes with no root password. To set the root password, type: $mysqladmin -u root password your-new-password $sudo \/etc\/init.d\/mysql restart Install mysql query browser $sudo apt-get install mysql-query-browser After\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/linux\/"},"img":{"alt_text":"Open terminal in ubuntu","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/05\/1-300x245.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":58,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/linux\/install-avast-antivirus-in-ubuntu\/","url_meta":{"origin":287,"position":1},"title":"Install Avast Antivirus in Ubuntu","author":"Jitendra","date":"May 9, 2010","format":false,"excerpt":"avast! Home Edition is a complete anti-virus package, that is is free for registered home non-commercial users. It contains an on-demand scanner with two interfaces (simple for novices and advanced for experienced users), an on-access scanner with Standard Shield (which protects against execution and opening malware programs) and an embedded\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/linux\/"},"img":{"alt_text":"Open Avast Antivirus in ubuntu","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/05\/1-256x300.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2533,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/eclipse-error-unable-to-refresh-from-server-in-force-com\/","url_meta":{"origin":287,"position":2},"title":"Eclipse Error &#8211; Unable to refresh from server in Force.com","author":"Jitendra","date":"December 8, 2011","format":false,"excerpt":"Solve the force.com error of the eclipse while getting the refresh from server. \"com.salesforce.ide.api.metadata.types.Metadata$JaxbAccessorF_fullName cannot be cast to com.sun.xml.bind.v2.runtime.reflect.Accessor\"","rel":"","context":"In &quot;Configuration&quot;","block_context":{"text":"Configuration","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/configuration\/"},"img":{"alt_text":"add clean attribute in eclipse shortcut","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/12\/add-clean-attribute-in-eclipse-shortcut.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":6606,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/build-a-salesforce-dx-plugin-in-15-minutes-dreamforce-2018\/","url_meta":{"origin":287,"position":3},"title":"Build a Salesforce DX Plugin in 15 Min","author":"Jitendra","date":"September 14, 2018","format":false,"excerpt":"My Dreamforce Session to create a Salesforce DX plugin in 15 minutes","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce DX Plugin Structure","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/09\/Salesforce-DX-Plugin-Structure.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":603,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/linux\/remove-ubuntu-from-dual-boot\/","url_meta":{"origin":287,"position":4},"title":"Remove Ubuntu from Dual boot","author":"Jitendra","date":"July 7, 2010","format":false,"excerpt":"How to remove ubuntu from system and use previously installed Windows XP\/ Vista.","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1959,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/servlet\/create-servlet-using-annotation\/","url_meta":{"origin":287,"position":5},"title":"Create Servlet using Annotation &#8211; Servlet 3.0","author":"Jitendra","date":"April 13, 2011","format":false,"excerpt":"Create the Servlet without any deployment descriptor. Using Annotations","rel":"","context":"In &quot;Servlet&quot;","block_context":{"text":"Servlet","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/servlet\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":0,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}