Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

JVM bindings broken with OpenJDK 11 #18153

Open
leezu opened this issue Apr 24, 2020 · 0 comments
Open

JVM bindings broken with OpenJDK 11 #18153

leezu opened this issue Apr 24, 2020 · 0 comments

Comments

@leezu
Copy link
Contributor

leezu commented Apr 24, 2020

Description

OpenJDK 11 is default on Ubuntu 18.04, but doesn't work with MXNet.

Users need to install OpenJDK 8 and sudo update-java-alternatives -s java-1.8.0-openjre-amd64.

[April 23, 2020, 4:50 PM] Lan, Qing: [2020-04-23T19:15:39.978Z] [ERROR] error: scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found.

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:17)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:18)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:53)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:45)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:45)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:66)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getClassByName(Mirrors.scala:102)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getRequiredClass(Mirrors.scala:105)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.reflect.internal.Definitions$DefinitionsClass.ObjectClass$lzycompute(Definitions.scala:257)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.reflect.internal.Definitions$DefinitionsClass.ObjectClass(Definitions.scala:257)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1394)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.tools.nsc.Global$Run.<init>(Global.scala:1215)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.tools.nsc.Driver.doCompile(Driver.scala:31)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.tools.nsc.MainClass.doCompile(Main.scala:23)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.tools.nsc.Driver.process(Driver.scala:51)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.tools.nsc.Driver.main(Driver.scala:64)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala.tools.nsc.Main.main(Main.scala)

[2020-04-23T19:15:39.978Z] [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[2020-04-23T19:15:39.978Z] [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

[2020-04-23T19:15:39.978Z] [ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[2020-04-23T19:15:39.978Z] [ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala_maven_executions.MainHelper.runMain(MainHelper.java:164)

[2020-04-23T19:15:39.978Z] [ERROR] 	at scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)

http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-gpu/detail/PR-18138/9/pipeline

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants