[aarch64-port-dev ] A question about how to install RedHat OpenJDK on Linux-aarch64
Wang, Qun
qun.wang at sap.com
Thu Apr 9 03:57:58 UTC 2015
Hello,
I am installing RedHat OpenJDK on Linux-aarch64 (aarch64-port-jdk8-aarch64-992-b128.tar.tar) according to your README, but encountered an issue. When I run bash ./configure, I see the following error message.
configure: Found potential Boot JDK using java(c) in PATH
configure: Potential Boot JDK found at /home/qun/jdk8/jdk1.8.0_40 is incorrect JDK version (./common/autoconf/generated-configure.sh: line 12448: /home/qun/jdk8/jdk1.8.0_40/bin/java: cannot execute binary file); ignoring
configure: (Your Boot JDK must be version 7 or 8)
configure: Could not find a valid Boot JDK.
configure: This might be fixed by explicitely setting --with-boot-jdk
configure: error: Cannot continue
configure exiting with result code 1
What I don't understand is I have installed latest Oracle JDK 8 for Linux-x64 and have updated my $PATH to point to the directory. However ./configure still complains that the jdk version is not correct and the binary file cannot be executed. It is expected that the binary file cannot be executed, right? The reason is the binary file is for Linux-x64 (The jdk8 for Linux-aarch64 developed by Oracle is not available yet) rather than Linux-aarch64.
[qun at asearm1 jdk8_redhat]$ echo $PATH
/home/qun/jdk8/jdk1.8.0_40/bin:/home/qun/remote/tst_inst/archives/ocs/csi/tools/linuxa
rm64:/home/qun/remote/tst_inst/archives/ocs/csi/tools/generic/apache-ant-1.7.1/bin:/ho
me/qun/remote/tst_inst/archives/ocs/csi/java/linuxarm64/jdk1.7.0_60/bin:.:/bin:/sbin:/
usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/bin
[qun at asearm1 jdk8_redhat]$ ls /home/qun/jdk8
jdk-8u40-linux-x64.tar.gz jdk1.8.0_40/
[qun at asearm1 jdk8_redhat]$
Any idea please?
Thanks,
Qun
More information about the aarch64-port-dev
mailing list