How To Install Oracle WebLogic Server In Eclipse/STS

If you try to install Oracle Weblogic on Eclipse/STS 2020 or any latest version of Eclipse/STS. You will not be able to install Weblogic Servers in it. You will get errors like.

This happens when Eclipse is using OpenJDK instead of oracle.
There are two ways to set Java JRE/JDK for eclipse usage. Either we configure it as an environmental variable or manually provide the path to oracle JDK in INI file. In this article, we are using the second way.

Here are steps to install oracle weblogic.

Steps:

  1. Download Oracle JDK 11/latest
  2. Install Oracle JDK
  3. Download Eclipse/STS
  4. Install Eclipse/STS
  5. Download Weblogic
  6. Install WebLogic
  7. Edit eclipse.ini / SpringToolSuite4.ini file and change VM from OpenJDK to Oracle JDK

Original eclipse.ini/ SpringToolSuite4.ini file

Updated eclipse.ini/ SpringToolSuite4.ini file

Note : remember to use forward slash(/) for file path instead of using backward slash

8. Un install JustJ OpenJDK

a. go to help-> About Eclipse IDE -> Installation Details -> Installed Software
b. search for Justj JDK and uninstall it

9. Window -> show view -> Servers

10. Add Oracle Repository in Eclipse

In eclipse, Go to Help -> Install New Software..
Click Add to add a new update site. Enter the “Name” Oracle and enter the “Location” http://download.oracle.com/otn_software/oepe/12.2.1.10/photon/repository/ . Then click “Add”.
Select Tools then weblogic tools as shown in images

11. Install new Server , Now there you can find Oracle Weblogic Server

--

--

--

Java | DevOps | Consultant | Researcher | MuleSoft Certified | Oracle Cloud Certified

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Building a Password Mask Analyzer with Python

What’s so great about performance?

Recreating IAM service roles to fix a failed AWS Control Tower deployment

Hints for our Interview Process and Code Test

Going Live with the Live Guide

Graph DB — diving into JanusGraph part 2

Top 5 Free Courses to Learn Docker in 2022— Best of Lot

Top 5 Free Courses to Learn Docker

Debouncing Cache Updates

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Muhammad Ahmed

Muhammad Ahmed

Java | DevOps | Consultant | Researcher | MuleSoft Certified | Oracle Cloud Certified

More from Medium

Maven — Welcome to Apache Maven “Hello World”

60 Day Milestone!

We are gonna get there.

[Solved] jvm 1 | Unrecognized option: — add-exports=java.base/jdk.internal.ref=ALL-UNNAMED

TIL 0621 Head First Java ch4 — How Objects Behave