My Oracle Support Banner

Is it Supported or Suggested to Use a Symbolic Link for JAVA_HOME with WebLogic Server (Doc ID 2415282.1)

Last updated on MAY 06, 2024

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.


Customer has defined JAVA_HOME as /scratch/software/javase/current, which is a symbolic link to a JDK installed at /scratch/software/javase/jdk1.8.0_17. This makes it extremely easy to change versions of Java which retaining the configuration of the JAVA_HOME in WLS: simply change the symbolic link rather than having to reconfigure WebLogic Server.

However, on installation, WebLogic follows the symbolic link and sets JAVA_HOME to the actual path (/scratch/software/javase/jdk1.8.0_172 ) rather than the symbolic link (/scratch/software/javase/current).

Is using a symlink for this purpose supported?


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

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