Getting Error Complaining DISPLAY Environment Variable Not Set While Installing Oracle Glassfish Server 3.1.1

(Doc ID 1439214.1)

Last updated on JUNE 19, 2017

Applies to:

Oracle GlassFish Server - Version 3.0 and later
Information in this document applies to any platform.


The user get this error when trying to run GlassFish 3.1.1 installer:

bash-3.00$ ./
This program requires DISPLAY environment variable to be set.
Please re-run after assigning an appropriate value to DISPLAY.




Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms