Can't run Graal with JDK 11

Andrew Haley aph at
Tue May 1 17:09:52 UTC 2018

I get this when trying to AOT-compile using latest jdk-jdk and latest

Exception in thread "main" java.lang.NoClassDefFoundError: jdk/internal/vm/compiler/word/WordBase
	at jdk.aot/
	at jdk.aot/<init>(
	at jdk.aot/
	at jdk.aot/
	at jdk.aot/
Caused by: java.lang.ClassNotFoundException: jdk.internal.vm.compiler.word.WordBase

I think the problem is that jdk/internal/vm/compiler/word/WordBase is
in the module jdk.internal.vm.compiler, and Graal's "mx vm" command does


Unfortunately, jdk/internal/vm/compiler/word/WordBase is only present
in OpenJDK's version of the jdk.internal.vm.compiler module, and is
not present in Graal's jdk.internal.vm.compiler.


Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the graal-dev mailing list