Install Jboss 5.1.0.GA to Windows 7

Today I am going to show you how to install Jboss 5.1.0.GA on  a Windows 7 machine.

1. First of all download the binaries from

2. The downloaded file is a zip is named As you can see it is a zip archive and not an executable.

3. Create an installation folder (I created one at C:\Program Files\Jboss) and extract the archive there.

4. Add the path to JBoss directory to JBOSS_HOME enviroment variable (picture 1). For me it is C:\Program Files\Jboss\jboss-5.1.0.GA

set jboss_home and java_home environment variable

JBOSS_HOME and JAVA_HOME environment variables in Windows 7


5. Add the path to JDK directory to JAVA_HOME enviroment variable (picture 1). For me it is C:\Program Files\Java\jdk1.6.0_31

6. Gongratulations! We are ready! Now to start the application server open a shell window using WinKey + R then type cmd and hit Enter.

7. Type

C:\Program Files\Jboss\jboss-5.1.0.GA\bin\run.bat  -b

Notice the parameter -b! This parameter assures that server is visible from all computers inside the network.

7. If you want to see if the application server has started correctly, inspect the log output in the shell will it is loading. When the process is finished open a browser and type http://localhost:8080/web-console/


About cmanios

This entry was posted in Application Server, JBoss and tagged , , , . Bookmark the permalink.

18 Responses to Install Jboss 5.1.0.GA to Windows 7

  1. ogbole oloche michael says:

    You are a great teacher. Your explanation was excellent. It worked for me

  2. Thank you very much.

  3. Nagarajan S says:

    Thanks a lot for your help on this. It’s short & Sweet.

  4. cmanios says:

    Please see updated post

  5. Praveen says:

    Very Transparent.

  6. Anjaneai says:

    Awesome instructions !!

  7. akanksha says:

    it is not work for me there is an error occur after typing
    C:\Program Files\Jboss\jboss-5.1.0.GA\bin\run.bat -b
    in cmd….

  8. carter says:

    thanks !!!!!!

  9. ranjit says:

    hey its not working for me

  10. ranjit says:

    can you please help me

  11. Nanban says:

    Hi Cmanios

    Thanks for the wonderful article.

    I get the following error

    Error: Could not find or load main class org.knows.Main
    Press any key to continue . . .

  12. Ameer says:

    I am facing issue while accessing bean deploy on JBoss 6.1.0 , May you guide how can i set & how to find lookup name .

  13. Ameer says:

    I am facing problem in accessing my bean deploy on jboss. May you guide me how to set for EJB client. how to lookup EJB component. thanks

  14. Pingback: jboss 5 – installasi – sihendr4

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s