{"id":1126,"date":"2010-07-27T20:55:01","date_gmt":"2010-07-28T01:55:01","guid":{"rendered":"http:\/\/www.andygibson.net\/blog\/?p=1126"},"modified":"2010-07-27T20:55:01","modified_gmt":"2010-07-28T01:55:01","slug":"installing-jboss-developer-tools","status":"publish","type":"post","link":"http:\/\/www.andygibson.net\/old-blog\/tutorial\/installing-jboss-developer-tools\/","title":{"rendered":"Installing JBoss Developer Tools"},"content":{"rendered":"<p>This article describes how to install the JBoss Developer Tools plug-ins into the Eclipse IDE. You should already have Eclipse installed and configured.<br \/>\n<!--more--><\/p>\n<div class=\"prereq\">\n<ul><lh>Prerequisites<\/lh><\/p>\n<li><a href=\"http:\/\/www.andygibson.net\/blog\/tutorial\/installing-and-configuring-eclipse\/\">Installing and Configuring Eclipse<\/a><\/li>\n<\/ul>\n<\/div>\n<p>JBoss Developer Tools is a bundle of Eclipse plug-ins for Eclipse which help when developing applications using a various frameworks, some of which are JBoss specific and some which are standards based, but still JBoss related. In particular this helps developers get to grips with Java EE 6 web development using JSF, CDI, EJB and JPA by integrating the use of these individual frameworks in the IDE.<\/p>\n<div class=\"sidenote_right\">\n<h1>64 Bit Windows<\/h1>\n<p>Currently, JBoss Developer Tools does not support 64 bit JVMs on Windows. There is a version for 64 bit Linux, but not for 64 bit windows. Therefore you will need to install a 32-bit JDK to use them, and we will tell Eclipse to use that JDK instead (see [node:3] for more details). This also means you will be unable to use a 64-bit version of Eclipse.<\/p>\n<\/div>\n<p>For example, it provides tooling for the JPA standard and specifically the Hibernate implementation of JPA. Of most interest is the new Java Contexts and Dependency Injection (CDI , JSR 299) tooling which can go hand in hand with their excellent JSF page editing.<\/p>\n<p>You should start with an Eclipse installation that will support JBoss Tools (see the <a href=\"http:\/\/www.jboss.org\/tools\/download.html\">download page<\/a> for more details on which Eclipse versions are supported.<\/p>\n<h2>Prerequisite Eclipse Plug-ins<\/h2>\n<p>Before we install JBoss tools, there are a some additional plug-ins that need installing first as prerequisites as described in the JBoss Tools install <a href=\"http:\/\/download.jboss.org\/jbosstools\/updates\/stable\/galileo\/\" target=\"_blank\">instructions<\/a>.  These plug-ins, as well as the JBoss Tools plug-ins themselves will be installed using the Eclipse update manager which is opened by opening the menu <em>Help-&gt;Install New Software&#8230;<\/em>.  This manager has a list of URLs that Eclipse can use to locate and download plug-ins from remote locations called update sites.<\/p>\n<ol>\n<li>Open the install manager by clicking the menu item  <em>Help-&gt;Install New Software&#8230;<\/em>.<\/li>\n<li>In the install manager, click the <em>Add<\/em> button to add a new update site.<\/li>\n<li>In the dialog that pops up, add BIRT as the  Name, and set Location to <a href=\"http:\/\/download.eclipse.org\/birt\/update-site\/2.5\/\">http:\/\/download.eclipse.org\/birt\/update-site\/2.5\/<\/a>. Click OK to close the dialog.<\/li>\n<li>Back in the install manager, in the top drop down box select the BIRT site and you should see a list of available plug-ins appear in the main list area<\/li>\n<li>Click the check box next to each of the plug-ins and click <em>Next<\/em>.<\/li>\n<li>Once you agree to the licenses and click <em>Finish<\/em> Eclipse will download and install the plug-ins. Once complete, it will ask if you want to restart Eclipse now or later. Restart Eclipse now before we install additional plug-ins.<\/li>\n<li>Repeat the above steps for the Maven m2Eclipse plug-ins. In the &#8220;Add Site&#8221; dialog, set the Name to m2Eclipse and the Location to <a href=\"http:\/\/m2eclipse.sonatype.org\/sites\/m2e\/\">http:\/\/m2eclipse.sonatype.org\/sites\/m2e\/<\/a>.<\/li>\n<li>Once added, select the m2Eclipse site and check all the items in the plug-in list.<\/li>\n<li>Once the m2Eclipse plug-ins are installed, opt to restart eclipse<\/li>\n<\/ol>\n<h2>Installing JBoss Tools<\/h2>\n<p>Now we will install the plug-ins for Boss Tools, again using update sites as in the previous steps.<\/p>\n<ol>\n<li>Click <em>Help-&gt;Install New Software&#8230;<\/em> to open the install manager.<\/li>\n<li>Add a new site called JBoss Tools. The Location for the site is <a href=\"http:\/\/download.jboss.org\/jbosstools\/updates\/stable\/galileo\/\">http:\/\/download.jboss.org\/jbosstools\/updates\/stable\/galileo\/<\/a>. Click <em>OK<\/em>.<\/li>\n<li>In the install manager, select the JBoss Tools site to download plug-ins from. You should see a long list of available plug-ins. Again, check them all and click <em>Next<\/em>.<\/li>\n<li> Once it has calculated requirements and dependencies, you should be able to click <em>Next<\/em> again, and check the license agreement and click <em>Next<\/em>.<\/li>\n<li>Finally, it will download and install the JBoss Tools plug-ins. This may take a while since the contents are in the region of just under 100 megabytes.<\/li>\n<li>Again, once complete, you should restart Eclipse<\/li>\n<li>You are done, you should now have a working installation of JBoss Developer Tools<\/li>\n<\/ol>\n<h2>Dependency Issues<\/h2>\n<p>Eclipse can have problems with missing dependencies indicating that there are missing required plug-ins. In such a case, see what plug-ins are missing in the <em>Install Details<\/em> tab in the <em>Details<\/em> section.  Verify that you have downloaded the correct version of the Eclipse SDK as per the <a href=\"http:\/\/www.jboss.org\/tools\/download\/\">JBoss Tools instructions<\/a>. Also make sure you downloaded the Eclipse SDK version for Java EE. If you need to access older versions of the Eclipse SDK, you can do so from this <a href=\"http:\/\/download.eclipse.org\/eclipse\/downloads\/\">download page<\/a>. Try searching online for the error message to see if it is a common problem.<\/p>\n<div class=\"notes\">\n<ul><lh> Next Steps<\/lh><\/p>\n<li><a href=\"http:\/\/www.andygibson.net\/blog\/tutorial\/installing-servers-into-eclipse\/\">Installing Servers Into Eclipse<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This article describes how to install the JBoss Developer Tools plug-ins into the Eclipse IDE. You should already have Eclipse installed and configured.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[64],"tags":[65,71,79],"_links":{"self":[{"href":"http:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/posts\/1126"}],"collection":[{"href":"http:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/comments?post=1126"}],"version-history":[{"count":8,"href":"http:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/posts\/1126\/revisions"}],"predecessor-version":[{"id":1651,"href":"http:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/posts\/1126\/revisions\/1651"}],"wp:attachment":[{"href":"http:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/media?parent=1126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/categories?post=1126"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/tags?post=1126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}