• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

How to install JBOSS Application Server

Installing JBoss Application Server

Getting and Installing Java

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)

On UNIX run the installer or uncompress the distribution into a directory of your choice

On Windows, run the installer

Avoid installing Java into a directory that contains spaces or other special characters (e.g. under C:\Program Files)

You can choose not to install “Public JRE”, demos, and source components

Configuring Java

Set JAVA_HOME to point to the directory where you installed Java and add $JAVA_HOME/bin to your PATH

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;

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

Learn the core features of JBOSS Traning and become master with our expertise tutorials.

Testing JAVA

Test that java -version prints the expected Java version

Test that javac prints usage message

This verifies that JDK is installed (vs. JRE)

Getting JBoss Application Server

Download packaged distribution

http://www.jboss.org/jbossas/downloads

How 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

Add $ANT_HOME/bin (on Linux), %ANT_HOME%\bin (on Windows) to your PATH

get jboss-<release>-src.tar.gz from http://www.jboss.org/jbossas/downloads

unzip it

Browse to build directory and run ant

Once finished the binaries will be under jboss-<release>.GA-src\build\output\jboss-<release>.GA

Installing JBoss Application Server

Unpack the compressed archive

This is the typical installation method because it is the easiest

Alternatively, install the source-built binary

Not a common installation method

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 indepth understanding on JBoss click on:

Summary
Review Date
Reviewed Item
How to install JBOSS Application Server
Author Rating
5

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on How to install JBOSS Application Server"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Site Disclaimer, Copyright © 2016 - All Rights Reserved.

    Support


    Please leave a message and we'll get back to you soon.

    I agree to be contacted via e-mail.