This article describes how to integrate WebLogic Server in the latest supported version of Eclipse IDE for Java EE Developers.
You need to start by getting all of the pieces - Java SE Development Kit, WebLogic Server, and Eclipse IDE.
Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html to download Java SE Development kit (neither WLS nor Eclipse come with it). Accept the license agreement, download the binary file, and install it on your computer. Set your JAVA_HOME to the installation directory and add $JAVA_HOME/bin to your PATH.
Next get and install a copy of WebLogic Server (WLS). The latest version of WLS that is currently supported in Eclipse is WLS 188.8.131.52.0. The standard WLS download page at http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html has 184.108.40.206.0 at the top. If you are running on Windows, your command window to run the jar command will need to be running as the Administrator.
java -jar fmw_220.127.116.11.0_wls.jar
You can take all of the default values. You will need to specify an installation directory. You might want to install the examples. On the last page, make sure the “Automatically Launch the Quickstart Configuration Wizard” is clicked to create the domain.
In the Configuration Wizard, take the defaults, you may want to change the domain directory, enter a password, and click on Create.
Download “Eclipse IDE for Java EE Developers” from http://www.eclipse.org/downloads/eclipse-packages/ and unzip it. The latest version that OEPE supports is Oxygen.3 (it's not currently running correctly on 2018-12-R or later).
Change to the Eclipse installation directory and run eclipse.
Select a directory as a work space and optionally select to use this as the default. You can close the Welcome screen so we can get to work.
If you are running behind a firewall and need to configure a proxy server to download files from an external web site, select the Preferences menu item under the Window menu, expand the General node in the preferences tree and select Network Connections, change the drop-down to Manual, edit the http and https entries to provide the name of the proxy server and the port.
Click on the Windows menu item, select Show View, and select the Servers view.
Then click on the link “No servers are available. Click this link to create a new server”.
Expand Oracle, select Oracle WebLogic Server Tools, and click on Next.
It will then go off and get a bunch of files including the Oracle Enterprise Pack for Eclipse (OEPE). You will need to accept the OEPE license agreement to finish the installation. The installation will continue in the background. Click on the progress bar in the lower right order to wait for it to complete. Eventually it will complete and ask if you want to restart Eclipse. Eclipse needs to restart to adopt the changes.
To pick up where you left off, click on the Windows menu item, select Show View, select the Servers view, click on the link “No servers are available. Click this link to create a new server”, expand Oracle, and select Oracle WebLogic Server.
If you want to access the server remotely, you will need to enter the computer name; otherwise using localhost is sufficient for local access. Click Next.
On the next screen, browse to the directory name where you installed WLS 18.104.22.168.0 and then select the wlserver subdirectory (i.e., WebLogic home is always the wlserver subdirectory of the installation directory). Eclipse will automatically put in the value of JAVA_HOME for the “Java home” value. Click Next.
On the next screen, browse to the directory where you created the domain using the WLS Configuration Wizard (you can also click on the button to select from known domains). Click Next and Finish.
You can double-click on the new server entry that you just created to bring up a window for the server. Click on “Open Launch configuration” to configure any options that you want while running the server and then click OK.
Back in the server view, right click on the server entry and select start to boot the server.
A Console window will open to display the server log output and eventually you will see that the server is in RUNNING mode.
That covers the logistics of getting everything installed to run WLS in Eclipse. Now you can create your project and start your development. Let’s pick a Dynamic Web Project from the new options.
The project will automatically be associated with the server runtime that you just set up. For example, selecting a dynamic web project will display a window like the following where the only value to provide is the name of the project.
There are many tutorials on creating projects within Eclipse, once you get the tools set up.