尝试移动到 java OpenJDK:激活器 1.3.9,Intellij 无法工作

trying to move to java OpenJDK: activator 1.3.9, Intellij would not work

我正在尝试迁移到 java OpenJDK。我有工作项目,但在安装 OpenJDK 后没有任何工作。我使用 java -version 验证了 OpenJDK 安装,它的响应是: openjdk 版本“12.0.1” 2019-04-16 OpenJDK 运行时环境(build 12.0.1+12) OpenJDK 64 位服务器 VM(构建 12.0.1+12,混合模式,共享)

所以它安装正确。 我在切换之前测试了项目以确保一切正常。
现在尝试使用激活器像往常一样在 intellij 中启动播放框架项目,但是 sbt shell 有错误。

有没有人有 OpenJDK 与 play 框架和 intellij 一起工作?如果可以,需要做什么?

sbt shell 错误:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by sbt.ivyint.ErrorMessageAuthenticator$ (file:/C:/Users/kmetts/.sbt/boot/scala-2.10.6/org.scala-sbt/sbt/0.13.11/ivy-0.13.11.jar) to field java.net.Authenticator.theAuthenticator
WARNING: Please consider reporting this to the maintainers of sbt.ivyint.ErrorMessageAuthenticator$
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
.
.
.
java.lang.NullPointerException
        at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1770)
        at java.base/java.util.regex.Matcher.reset(Matcher.java:416)
        at java.base/java.util.regex.Matcher.<init>(Matcher.java:253)
        at java.base/java.util.regex.Pattern.matcher(Pattern.java:1133)
        at java.base/java.util.regex.Pattern.split(Pattern.java:1261)
        at java.base/java.util.regex.Pattern.split(Pattern.java:1334)
        at sbt.IO$.pathSplit(IO.scala:797)
        at sbt.IO$.parseClasspath(IO.scala:912)
        at sbt.compiler.CompilerArguments.extClasspath(CompilerArguments.scala:66)
        at sbt.compiler.MixedAnalyzingCompiler$.withBootclasspath(MixedAnalyzingCompiler.scala:188)
        at sbt.compiler.MixedAnalyzingCompiler$.searchClasspathAndLookup(MixedAnalyzingCompiler.scala:166)
        at sbt.compiler.MixedAnalyzingCompiler$.apply(MixedAnalyzingCompiler.scala:176)
        at sbt.compiler.IC$.incrementalCompile(IncrementalCompiler.scala:138)
        at sbt.Compiler$.compile(Compiler.scala:152)
        at sbt.Compiler$.compile(Compiler.scala:138)
        at sbt.Defaults$.sbt$Defaults$$compileIncrementalTaskImpl(Defaults.scala:860)
        at sbt.Defaults$$anonfun$compileIncrementalTask.apply(Defaults.scala:851)
        at sbt.Defaults$$anonfun$compileIncrementalTask.apply(Defaults.scala:849)
        at scala.Function1$$anonfun$compose.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon.work(System.scala:63)
        at sbt.Execute$$anonfun$submit$$anonfun$apply.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$$anonfun$apply.apply(Execute.scala:228)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.Execute.work(Execute.scala:237)
        at sbt.Execute$$anonfun$submit.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit.apply(Execute.scala:228)
        at sbt.ConcurrentRestrictions$$anon$$anonfun.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon.call(CompletionService.scala:28)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:835)
[error] (compile:compileIncremental) java.lang.NullPointerException
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

JDK official SBT docs 推荐的是 2019 年 4 月 30 日的 1.8:

Install JDK (We recommend Oracle JDK 8 or OpenJDK 8).

SBT 1.3.0里程碑版本已经tested on OpenJDK 11:

All projects are now tested using AdoptOpenJDK JDK 11.

而当前的稳定版本是 1.2.8. SBT is developed with Scala and according to JDK 12 compatibility notes:

Scala has not been extensively tested on JDK 12.

鉴于上述情况,SBT 目前可能与 JDK 12 不完全兼容,因此我们可以考虑按照建议进行降级