Forum Stats

  • 3,838,514 Users
  • 2,262,378 Discussions
  • 7,900,678 Comments

Discussions

OpenJDK Runtime Environment 18.3 (build 10-ea+42)

Christian Stein
Christian Stein Member Posts: 9
edited Feb 4, 2018 7:52AM in Java SE Early Access

Hi Oracle Community (aka Dalibor),

just found another strange behaviour of OpenJDK vs OracleJDK. [1] Same "java" command executed

on those two runtime enviroments lead to different results.

java

--module-path

  bin/bach/target/classes/test:bin/bach/modules

--add-modules

  ALL-MODULE-PATH

--module

  org.junit.platform.console

--scan-modules

  • Java(TM) SE Runtime Environment 18.3 (build 10-ea+42) works just fine [2].
  • OpenJDK Runtime Environment 18.3 (build 10-ea+42) reports a "java.lang.NoClassDefFoundError: javax/script/ScriptException" [3].

Is this a known issue?

[1] https://travis-ci.org/sormuras/beautiful_logger/builds/337153633

[2] https://travis-ci.org/sormuras/beautiful_logger/jobs/337153634

[3] https://travis-ci.org/sormuras/beautiful_logger/jobs/337153635

Answers