By default JBoss AS 5 is the most recent, supported version in Eclipse IDE. You need an Eclipse server adapter for JBoss AS 6 or later and that’s what JBoss Tools provides.
Environment Used
- Java SE 6
- Eclipse Indigo (3.7.1) IDE
- JBoss Tools – Core 3.3 Final
M5for Eclipse Indigo (3.7.2)
Installing JDK
JDK should be installed with proper environment set up. Read this page for installing the JDK and setting up the environment.
Installing Eclipse IDE
Make sure you have Eclipse IDE installed. If you need to install Eclipse, you can read this page.
Online Installation (From Update Site)
Step 1:
http://www.jboss.org/tools/download
You can install JBoss tools via update site, simply right-click the link (JBoss Tools – Core 3.3 Final M5 for Eclipse 3.7.2 under Stable Releases Development Milestones) and paste it into Eclipse’s “Update” or “Install New Software” manager as explained below.
Step 2:
JBoss Tools installation is fairly simple. Start Eclipse then go to:
Help -> Install New Software…
Copy this link http://download.jboss.org/jbosstools/updates/stable/indigo/ http://download.jboss.org/jbosstools/updates/development/indigo/ (the same link from JBoss tools site) for the Stable Release latest development release of the Core tools into Eclipse and hit Enter.
Step 3:
When the site loads, select the features to install, or click the Select All button. For our requirement expand the “JBoss Web and Java EE Development” and select “JBossAS Tools” as shown below.
Checking
[x] Contact all update sites during install to find required software
might take sometime and this is optional.
Step 4:
Click Next to view Installation Details.
Step 5:
Click Next to agree the license terms, and click Finish.
Step 6:
If you get any warning message when installing, click OK to continue.
This will take few minutes to install the tools and once done restart the Eclipse.
Step 7:
Once JBoss Tools is installed, you will find JBoss AS 6 or later servers available in the Servers view.
Right click in Servers area -> New -> Server.
Here you will see list of servers that can be created in the installed Eclipse version. You will find JBoss AS 6 or later under “JBoss Community” as shown below.
Now we have successfully installed “JBoss AS tools” in Eclipse IDE.
Offline Installation (Download Archive)
Step 1
http://www.jboss.org/tools/download
You can download the required version of JBoss Tools Update Zips (Archived Repos) for offline installation under the Downloads Section -> Stable Releases Development Milestones (Below screenshot not updated), but DO NOT UNPACK THEM into your Eclipse.
Step 2:
- Open the Eclipse Update Manager (Help -> Install New Software… -> Add… -> Archive…).
- Browse and select the downloaded zip file and click OK.
- Follow from Step 2 of Online Installation (From Update Site).