My Oracle Support Banner

How to Upgrade the JDK Used by Oracle WebLogic Server 12cR1 to a Different Version (Doc ID 1616397.1)

Last updated on APRIL 07, 2022

Applies to:

Oracle WebLogic Server - Version to [Release 12c]
Java SE JDK and JRE - Version 8 to 8
Information in this document applies to any platform.
Applies to WLS 12cR1 only.


After upgrading the JDK, it is a popular question on how can one change the WebLogic Server configuration so that the new JDK is used. If not done properly, issues can occur and components may not start properly or not use the intended JDK.

Before reading this, follow the advice given in <Note 1492980.1>, "How to Install and Maintain the Java SE Installed or Used with FMW 11g/12c Products" to check certification, obtain the download location, and set up your Java directory to plan for your maintenance going forward. The Java distribution is updated regularly for security issues and you may decide to also update your Fusion Middleware and WebLogic Server environment with these updates on a regular basis.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Windows Platforms
 Linux/Unix Platforms
 Sample commands to locate files with JDK references

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.