My Oracle Support Banner

Using a Symlink for JAVA_HOME Causes Unexpected Results (Doc ID 2949809.1)

Last updated on MAY 24, 2024

Applies to:

Oracle WebLogic Server - Version 12.2.1.3.0 and later
Generic UNIX

Symptoms

Reported system has Java installed at /path/to/jdk1 and a symlink pointing to that installation at /opt/software/java. The symlink is set as JAVA_HOME for WebLogic Server by running:

A new version of Java is subsequently installed at /path/to/jdk2 and the symlink is updated to point to the new version. However, WLST (and other WLS tools) are still using the original Java (from /path/to/jdk1) and not the new version.

Cause

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
Symptoms
Cause
Solution
References


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