Can't run Graal with JDK 11

Andrew Haley aph at redhat.com
Wed May 2 07:41:05 UTC 2018


On 05/01/2018 07:45 PM, Doug Simon wrote:
> It sounds like you are somehow running jaotc via mx. I'm not sure how this is even possible. As you can see, it doesn't work.

It worked until a few days ago.  It's the only way I have to test aot.
So this is a regression.  Given that "it doesn't work", how is anyone
supposed to get any work done?

> If not, what mx command are you running to produce this error?

Same as before:

jaotc -J--module-path=/local/graal/graal/sdk/mxbuild/modules/org.graalvm.graal_sdk.jar:/local/graal/graal/truffle/mxbuild/modules/com.oracle.truffle.truffle_api.jar:build/linux-aarch64-normal-server-slowdebug/jdk/modules/jdk.internal.vm.compiler \
 -J--upgrade-module-path=/local/graal/graal/compiler/mxbuild/modules/jdk.internal.vm.compiler.jar:/local/graal/graal/compiler/mxbuild/modules/jdk.internal.vm.compiler.management.jar

But because of this recent refactoring it's no longer possible to to
use --upgrade-module-path.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the graal-dev mailing list