Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

Christian SteinFeb 4 2018 — edited Feb 4 2018

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

Comments
Post Details
Added on Feb 4 2018
1 comment
1,023 views