Configure Wildfly in eclipse

The following two tabs change content below.
Prasad Kharkar is a java enthusiast and always keen to explore and learn java technologies. He is SCJP,OCPWCD, OCEJPAD and aspires to be java architect.

Latest posts by Prasad Kharkar (see all)

Hello, this tutorial will demonstrate how to configure wildfly in eclipse.

1. Open your eclipse workspace and find the servers tab. It is placed in the bottom and looks like below

Add New Server

 

 

2. Click on the link to create a new server.It will open a dialog as below. Select WildFly 8.x  and click Next.

Select WildFly 8

3. Now in the next dialog box opened, click on InstalledJREs   next to Alternate JREs radio button as we need to add a new JRE to eclipse.

Click on Installed JREs4. Now click on Add button as shown in dialog box below.

Click on Add button

5. Check Standard VM and click Next

Add Standard VM

6. Now click Directory to select the home directory of JRE. remember that we need to point to the path of jdk even if specified as jre. JRE may not have all the required jar files which are present in jdk.

click on directory7. Select your JDK installation path and after that, it should look like below.

New JRE Added to eclipse

8. Click Finish. Now you should get a dialog box as below.

Click Finish

Browse for wildfly installtion path and select it as home directory and point the alternate JRE to the one we have created above. i.e. jdk1.8.0_25. Click FInish and we are done.

You can start the server and visit localhost:8080  to see the successfully running wildfly page

WildFly8 HOme Page

Thus we have seen how to successfully configure wildfly in eclipse

 

 

 

Share Button

Prasad Kharkar

Prasad Kharkar is a java enthusiast and always keen to explore and learn java technologies. He is SCJP,OCPWCD, OCEJPAD and aspires to be java architect.

6 thoughts on “Configure Wildfly in eclipse

  • Pingback:creating jsf ejb jpa application using eclipse and wildfly - theJavaGeek

  • August 5, 2016 at 5:36 pm
    Permalink

    Hi Prasad, A well written process for configuring WildFly in Eclipse. Thanks, it was useful for me.

    Reply
  • June 16, 2017 at 9:00 pm
    Permalink

    thanks alot..very useful

    Reply
  • August 16, 2017 at 3:45 am
    Permalink

    Usually I just get the info what I want by reading articles/blogs and I don’t really care to leave comments just to say Thank you when I find the solution for my problem… But I will take an exception now!!! Thank you very much!!! I wasted at least 3 hours to solve an “Unsupported major.minor version 52.0” because I didn’t know where to set the JRE for Wildfly…

    Thanks again!

    Reply
  • September 11, 2017 at 11:45 pm
    Permalink

    Really thanks ….bro it just awesome guidance to install wildfly

    Reply

Leave a Reply

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