{"id":165,"date":"2008-03-01T02:00:43","date_gmt":"2008-03-01T06:00:43","guid":{"rendered":"http:\/\/timony.com\/mickzblog\/2008\/03\/01\/eclipse-332-and-debian\/"},"modified":"2008-03-01T02:00:43","modified_gmt":"2008-03-01T06:00:43","slug":"eclipse-332-and-debian","status":"publish","type":"post","link":"http:\/\/timony.com\/mickzblog\/2008\/03\/01\/eclipse-332-and-debian\/","title":{"rendered":"Eclipse 3.3.2 and Debian"},"content":{"rendered":"<p>So I wanted to install Eclipse at home, the version that comes with Debian is 3.2.2-5 and I wanted to try 3.3.x and install WTP and some other plugins that aren&#8217;t packaged with Debian (anyone know why?).<\/p>\n<p>After downloading and installing Eclipse the welcome screen would appear with an error message saying:<\/p>\n<blockquote><p>Error creating the view.<\/p>\n<p>org.elipse.core.runtime.Plugin<\/p><\/blockquote>\n<p>This is because the default jvm or java executable on my system was one provided by <a title=\"The GNU Compiler for the JavaTM Programming Language\" href=\"http:\/\/gcc.gnu.org\/java\/\">gcj<\/a> and for some reason Eclipse&#8217;s eclipse doesn&#8217;t seem to work properly with gcj (or I had a too old version), Debian&#8217;s 3.2.2 Eclipse packages seem to work fine with gcj. Gcj is an Open Source Java compiler provided by <a title=\"GCJ At GNU\" href=\"http:\/\/gcc.gnu.org\/java\/\">GNU<\/a>.<\/p>\n<p><em>Using Sun&#8217;s JVM solved this<\/em>. To install Sun&#8217;s JVM, if you don&#8217;t already have it, issue the following command:<\/p>\n<blockquote><p>aptitude install sun-java5-bin<\/p><\/blockquote>\n<p>Debian uses what&#8217;s called <a title=\"Using the Debian alternatives system\" href=\"http:\/\/www.debian-administration.org\/articles\/91\"><em>alternatives<\/em>,<\/a> this means that the java executable \/usr\/bin\/java is actually a symbolic link to \/etc\/alternatives\/java which itself is a symbolic link to the real java executable. You can manually change the links in \/etc\/alternatives or run:<\/p>\n<blockquote><p>update-alternatives &#8211;all<\/p><\/blockquote>\n<p>And change all the java tools to point to the ones that come with the Sun JVM. Alternatively, you can install <a title=\"Galternative package page at Debian\" href=\"http:\/\/packages.debian.org\/unstable\/admin\/galternatives\">galternatives<\/a> which is an easy to use GUI tool to manage alternatives.<\/p>\n<p><em>Updated March 2008: Corrected misspellings, and grammatical mistakes.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I wanted to install Eclipse at home, the version that comes with Debian is 3.2.2-5 and I wanted to try 3.3.x and install WTP and some other plugins that aren&#8217;t packaged with Debian (anyone know why?). After downloading and installing Eclipse the welcome screen would appear with an error message saying: Error creating the &hellip; <a href=\"http:\/\/timony.com\/mickzblog\/2008\/03\/01\/eclipse-332-and-debian\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Eclipse 3.3.2 and Debian<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[52,59,22,33],"tags":[87,190,220,277,281,292,356,364,390,494],"class_list":["post-165","post","type-post","status-publish","format-standard","hentry","category-debian-linux","category-java-programming","category-linux","category-programming","tag-alternatives","tag-debian","tag-eclipse","tag-galternatives","tag-gcj","tag-gnu","tag-java","tag-jvm","tag-linux","tag-plugins"],"_links":{"self":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/comments?post=165"}],"version-history":[{"count":0,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/165\/revisions"}],"wp:attachment":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/media?parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/categories?post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/tags?post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}