在Mac OSX上运行Java 7 EE SDK的.sh安装程序需要什么DISPLAY设置

the*_*now 7 java macos shell installer environment-variables

当我尝试运行shell时......

从安装手册:Java Platform,Enterprise Edition 7 SDK - 安装说明

Solaris,Linux和Mac OS X系统:

如有必要,请为分发文件授予执行权限:chmod + x ./ distribution-filename

在命令提示符下,键入:sh ./ distribution-filename

它说它需要DISPLAY变量集 - 我需要将它设置为什么?

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.
Run Code Online (Sandbox Code Playgroud)

dev*_*ull 18

它说它需要DISPLAY变量集 - 我需要将它设置为什么?

而不是说:

./java_ee_sdk-7-jdk7-macosx-x64-ml.sh
Run Code Online (Sandbox Code Playgroud)

说:

DISPLAY=:0 ./java_ee_sdk-7-jdk7-macosx-x64-ml.sh
Run Code Online (Sandbox Code Playgroud)

或者,您可以改为使用tarball安装程序并将其解压缩到所需位置.