Issue with Graal on JDK 1.8.0_40: relocation error: symbol JVM_GetResourceLookupCacheURLs not defined

Stefan Marr java at
Fri Mar 13 14:30:39 UTC 2015


I got an issue trying to build Graal on a new Ubuntu system, with JDK 1.8.0_40.

After compiling without problems, I see the following error when trying to start the VM:

~/tmp/GraalVM$ ./ —vm server vm -version
/home/smarr/tmp/GraalVM/jdk1.8.0_40/product/bin/java: relocation error: /home/smarr/tmp/GraalVM/jdk1.8.0_40/product/jre/lib/amd64/ symbol JVM_GetResourceLookupCacheURLs, version SUNWprivate_1.1 not defined in file with link time reference

Any idea how to fix this, or how to work around it?

Java version details below.


~/tmp/GraalVM$ /usr/lib/jvm/java-7-openjdk-amd64/bin/java -version
  java version "1.7.0_75"
  OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
  OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

~/tmp/GraalVM$ java -version
  java version "1.8.0_40"
  Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
  Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

Stefan Marr
INRIA Lille - Nord Europe

More information about the graal-dev mailing list