What DISPLAY settings needed for running .sh installer for Java 7 EE SDK on Mac OSX
environment-variables, installation, java, macos, shell
Solution
It says it needs the DISPLAY variable set - what do I need to set it to?
Instead of saying:
./java_ee_sdk-7-jdk7-macosx-x64-ml.sh
say:
DISPLAY=:0 ./java_ee_sdk-7-jdk7-macosx-x64-ml.sh
Alternatively, you could get the tarball installer instead and extract it to the desired location.
Problem
When I attempt to run the shell... From the install manual: Java Platform, Enterprise Edition 7 SDK - Installation Instructions Solaris, Linux, and Mac OS X systems: If necessary, grant execute permissions to the distribution file: chmod +x ./ distribution-filename At the command prompt, type: sh ./ distribution-filename It says it needs the DISPLAY variable set - what do I need to set it to? ``` a12-macmini-02:Downloads rdavis$ ./java_ee_sdk-7-jdk7-macosx-x64-ml.sh This program requires DISPLAY environment variable to be set. Please re-run after assigning an appropriate value to DISPLAY. ```