My Oracle Support Banner

GlassFish Server Cannot Be Installed As Root User and Reports the Error "Existing installation has been detected in this directory" (Doc ID 1349867.1)

Last updated on AUGUST 10, 2023

Applies to:

Oracle GlassFish Server - Version 8.1 to 9.1 [Release 8.1 to 9.1]
Oracle GlassFish Server - Version 2.1.1 and later
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86 (32-bit)
Oracle Solaris on x86-64 (64-bit)


The GlassFish Server installer fails to install on a machine which had a prior installation of the SunOne Java Enterprise Server (JES) or GlassFish Server, which has been removed or uninstalled, and the new installation is using the same installation location.  A warning message may be reported during the GlassFish installation:




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.