How to install JBOSS Application Server

Ratings:
(4)
Views: 1425
Banner-Img
Share this blog:

Install the JBoss Application Server

1) Download and Install Java:

  1. Download Java SE 6 JDK from http://java.sun.com/javase/downloads/index.jsp or http://java.sun.com/products/archive/ (for Java SE 5 JDK)
  2. On UNIX, run the installer or uncompress the distribution into a directory of your choice
  3. On Windows, run the installer
  4. Avoid installing Java into a directory that contains spaces or other special characters (e.g., under C: Program Files)
  5. e. You can choose not to install "Public JRE", demos, and source components
Inclined to build a profession as JBoss? Then here is the blog post on, explore "JBoss Training"

2) Configure Java:

  1. Set JAVA_HOME to point to the directory where you installed Java and add $JAVA_HOME/bin to your PATH
  2. On Windows, add JAVA_HOME System Variable under Start -> Settings -> Control Panel -> System -> Advanced -> Environmental Variables and prefix the existing PATH variable with %JAVA_HOME%bin;
  3. On UNIX-like systems, make these changes in your shell’s configuration file (e.g., ~/.bashrc): export JAVA_HOME=/path/to/java-install-dir and export PATH=$JAVA_HOME/bin:$PATH


3) Test Java:

  1. Test that java -version prints the expected Java version
  2. Test that javac prints usage message
  3. This verifies that JDK is installed (vs. JRE)


4) Download JBoss Application Server:

  1. Download packaged distribution from http://www.jboss.org/jbossas/downloads
  2. To build from source, get Ant from http://ant.apache.org/, uncompress it in a directory like C:Ant, set ANT_HOME to point to the directory where you installed Ant, and add $ANT_HOME/bin (on Linux), %ANT_HOME%bin (on Windows) to your PATH.
  3. Get jboss-<release>-src.tar.gz from http://www.jboss.org/jbossas/downloads, unzip it
  4. Browse to build directory and run ant
  5. Once finished, the binaries will be under jboss-<release>.GA-srcbuildoutputjboss-<release>.GA


5) Install JBoss Application Server:

  1. Unpack the compressed archive. This is the typical installation method because it is the easiest.
  2. Alternatively, install the source-built binary (not a common installation method).
  3. Set JBOSS_HOME to the root folder of JBoss. You can also add $JBOSS_HOME/bin (Linux) or %JBOSS_HOME%bin (Windows) to your PATH in case you want to run your server from the command-line.

 

For an in-depth understanding on JBoss click on:

You liked the article?

Like: 0

Vote for difficulty

Current difficulty (Avg): Medium

EasyMediumHardDifficultExpert
IMPROVE ARTICLEReport Issue

About Author

Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.

Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox