Error - Cannot read JVMCI version from java.vm.version property

Deepali Patel deepali_patel at persistent.com
Tue Mar 7 09:06:42 UTC 2017


Hello,

I am using a Ubuntu 16.04.2 x86_64 system.

The java version is:
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

I used the steps in the section https://github.com/graalvm/graal-core#building-jvmci-jdk8 to build JVMCI JDK8. The build is successful, the last few lines of output is like:
                make: Leaving directory '/pathto/Graal/graal-jvmci-8/make'
Compiling jdk.vm.ci.hotspot.amd64 with javac-daemon... [dependency jdk.vm.ci.amd64 updated]
Compiling jdk.vm.ci.hotspot.sparc with javac-daemon... [dependency jdk.vm.ci.sparc updated]
Compiling jdk.vm.ci.hotspot.aarch64 with javac-daemon... [dependency jdk.vm.ci.aarch64 updated]
Archiving JVMCI_TEST... [dependency jdk.vm.ci.runtime.test updated]
Archiving JVM_PRODUCT_SERVER... [dependency hotspot updated]
Archiving JVMCI_HOTSPOT... [dependency jdk.vm.ci.hotspot.aarch64 updated]

And I update JAVA_HOME using
export JAVA_HOME=$(mx --java-home /usr/lib/jvm/java-8-openjdk-amd64 jdkhome)

echo $JAVA_HOME shows:
/pathto/Graal/graal-jvmci-8/jdk1.8.0_121/product

Next I checkout graal-core and execute mx on it.

The error seen is:
The VM does not support the minimum JVMCI API version required by Graal.
Cannot read JVMCI version from java.vm.version property: 25.121-b13.
Set the JVMCI_VERSION_CHECK environment variable to "ignore" to suppress this error or to "warn" to emit a warning and continue execution.
Currently used Java home directory is /usr/lib/jvm/java-8-openjdk-amd64/jre.
Currently used VM configuration is: OpenJDK 64-Bit Server VM
Download the latest JVMCI JDK 8 from http://www.oracle.com/technetwork/oracle-labs/program-languages/downloads/index.html

Please suggest if I have missed out anything here. I do not want to download the built version of JVMCI because in parallel I am working on building it on PPC.

Regards
Deepali


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.



More information about the graal-dev mailing list