Depending on the OS shell u use it is
export DISPLAY=<Your local host>:0.0
or
setenv DISPLAY <Your local host>:0.0
Also make sure that you allow other hosts to connect to this "local host"
by running "xhost" command.
HTH
-Sathyan
On 10/27/10 1:58 PM, glassfish_at_javadesktop.org wrote:
> When I try to install on Solaris, I immediately get the error
>
> "This program requires DISPLAY environment variable to be set.
> Please re-run after assigning an appropriate value to DISPLAY."
>
> Upon googling this, I cannot find how to set a DISPLAY variable for Solaris, only for Unix, and thus assumed this was a Unix-only variable/setting. Perhaps you know how to set this so that the shell will run?
> [Message sent by forum member 'turtletsg']
>
> http://forums.java.net/jive/thread.jspa?messageID=486381
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>