Download and install JBoss eap6.2.0, configure environment variables, and deploy

Source: Internet
Author: User
Tags jboss

Download and install JBoss eap6.2.0, configure environment variables, and deploy

JBoss is a pure Java EJB (Enterprise JavaBean) server.


Step 1: download and install

1. Go to the official website http://www.jboss.org/overview/and Select Download eap6.2.0. This is the latest version,

Jboss-eap-6.2.0 this compressed file is just like 140m.

2. After the download is complete, decompress to a path pure English directory, such as: e: \ JBoss \ jboss-eap-6.2.0

Step 2: Configure Environment Variables

JDK is required for JBoss and JRE is not supported. Therefore, you must configure Java environment variables first on your computer.

Download JDK. The latest version 7.0 or 1.7 is the same version.

It is best to extract to a pure English folder or folder: e: \ jdk-7-windows-i586

In Windows 7, right-click the computer on the desktop and choose Properties> advanced system Settings> environment variables.

Create a new variable named java_home in the system variable. The variable value (PATH) is the path you extract.

Until the bin folder is visible:



Copy the above path to the environment variable path and click OK.

Find the PATH variable, and then open

Enter % java_home % \ bin at the beginning. Note that the last semicolon cannot be small. This path can be separated from other paths.

Now that JDK is configured, you can configure JBoss;

Create a jboss_home path in the environment variable to decompress the JBoss path:



Until the bin folder is viewed, paste the path and copy it to the new environment variable path.


Create an environment variable: The classpath path is % java_home % \ Lib. Note that the last semicolon cannot be less.



Add % jboss_home % \ bin at the beginning of the PATH variable; the semicolon should not be missing.

Now the configuration is complete. Because this is the latest version, there are only two ways to start JBoss: Standalone and domain

But before executing them, add-user should be added first, and find add-user in the bin folder of JBoss for execution,



Username is retrieved by yourself, but the cursor won't move when the password is entered. Don't think it's a problem with the computer. It just doesn't move, but what you input is

Yes, there is a certain format for password, it will prompt you, And then Confirm Password ......

Now we can start standalone in the bin folder. Windows is him, and Linux is standalone. Sh.

Start successfully when you see the number of MS of started in. Open the browser, type: http: // localhost: 8080, and you will see:


Select the first Hyperlink and enter username and password to go to the console.



Open myeclipse and select myeclipse --> preferences --> servers --> JBoss --> jboss7.x

Select enable to locate your JBoss in JBoss home directory and click OK until the bin folder is displayed.

Now you should be able to see a new icon


Now we have succeeded.




Download and install JBoss eap6.2.0, configure environment variables, and deploy

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.