Linux新手,我尝试安装JavaEE 6 SDK,第一步安装GlassFFish: http ://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-6u4-jdk-7u11-downloads -1900532.html
当我跑
sh java_ee_sdk-6u4-jdk7-linux-x64.sh
在我的服务器上,我收到提示我应该安装 Java:
Could not locate a suitable jar utility.
Please ensure that you have Java 6 or newer installed on your system
and accessible in your PATH or by setting JAVA_HOME
这是我感到困惑的地方:
它是JDK包中的Java吗?但是我正在安装它,所以我当然还没有安装它!
那么它是来自 JRE 的 Java 吗?我应该先安装它(并设置环境变量等)吗?
感谢您的任何澄清!