Scala IntelliJ でError:Abnormal build process termination

いろいろな事情があり、Scalaに取り組んでいる私です。

ちょっと前のコードをメンテする的なやつなので、そんなに踏み込んで勉強する気はありません。2020年、Scalaの立ち位置ってどうなんでしょうね。

興味のある方は、2018年の下記記事をご覧ください。田島メンターによると、Scalaは年収が一番高い言語らしいw そんで、学習コストも高いんだって。
https://techacademy.jp/magazine/17334

で、私の環境ですが、Windows10+IntelliJ (Community 2020.1) でやっていこうと思います。

最初にテスト的に下記リンクにある公式のチュートリアルをやります。

Intellij で Scala を始める

https://docs.scala-lang.org/ja/getting-started/intellij-track/getting-started-with-scala-in-intellij.html

で、Runしようとしたら、タイトルのエラーですよ。

Error:Abnormal build process termination: 
C:\Users\杉田玄白.jdks\openjdk-14.0.1\bin\java.exe -Xmx700m -Djava.awt.headless=true -Djdt.compiler.useSingleThread=true -Dpreload.project.path=D:/HelloWorld -Dpreload.config.path=C:/Users/杉田玄白/AppData/Roaming/JetBrains/IdeaIC2020.1/options -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Dio.netty.initialSeedUniquifier=3471885264834181241 -Dfile.encoding=windows-31j -Duser.language=ja -Duser.country=JP -Didea.paths.selector=IdeaIC2020.1 "-Didea.home.path=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.1.2" -Didea.config.path=C:\Users\杉田玄白\AppData\Roaming\JetBrains\IdeaIC2020.1 -Didea.plugins.path=C:\Users\杉田玄白\AppData\Roaming\JetBrains\IdeaIC2020.1\plugins -Djps.log.dir=C:/Users/杉田玄白/AppData/Local/JetBrains/IdeaIC2020.1/log/build-log "-Djps.fallback.jdk.home=C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/jbr" -Djps.fallback.jdk.version=11.0.7 -Dio.netty.noUnsafe=true -Djava.io.tmpdir=C:/Users/杉田玄白/AppData/Local/JetBrains/IdeaIC2020.1/compile-server/helloworld_f3806def/temp -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation=true -Dkotlin.incremental.compilation.js=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\杉田玄白\AppData\Local\Temp\kotlin-idea-14938841863943177906-is-running\" -Dscala.compiler.indices.rebuild=true -classpath "C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/java/lib/jps-launcher.jar" org.jetbrains.jps.cmdline.Launcher "C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/maven-model-builder-3.6.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/jps-model.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/idea_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/maven-resolver-provider-3.6.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/plexus-interpolation-1.25.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/gson-2.8.6.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/slf4j-api-1.7.25.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/protobuf-java-3.5.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/forms-1.1-preview.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/maven-model-3.6.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/jna.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/java/lib/jps-builders-6.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/platform-api.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/lz4-java-1.7.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/maven-builder-support-3.6.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/java/lib/maven-resolver-transport-http-1.3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/httpclient-4.5.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/plexus-utils-3.2.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/java/lib/maven-resolver-transport-file-1.3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/annotations.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/netty-common-4.1.47.Final.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/java/lib/jps-builders.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/netty-transport-4.1.47.Final.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/maven-resolver-api-1.3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/jdom.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/netty-codec-4.1.47.Final.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/log4j.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/asm-all-7.0.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/java/lib/aether-dependency-resolver.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/util.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/trove4j.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/commons-lang3-3.9.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/commons-logging-1.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/netty-buffer-4.1.47.Final.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/jna-platform.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/oro-2.0.8.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/plexus-component-annotations-1.7.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/netty-resolver-4.1.47.Final.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/nanoxml-2.2.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/java/lib/javac2.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/guava-28.2-jre.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/qdox-2.0-M10.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/httpcore-4.4.13.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/maven-resolver-spi-1.3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/resources_en.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/maven-artifact-3.6.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/maven-repository-metadata-3.6.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/maven-resolver-impl-1.3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/maven-resolver-util-1.3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/java/lib/maven-resolver-connector-basic-1.3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/gson-2.8.6.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/jarutils.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/guava-28.2-jre.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/common-26.6.0.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/gradle/lib/gradle-api-6.1.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/gson-2.8.6.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/jarutils.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/lib/guava-28.2-jre.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/common-26.6.0.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/gradle/lib/gradle-api-6.1.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/eclipse/lib/eclipse-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/eclipse/lib/common-eclipse-util.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/ant/lib/ant-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/Groovy/lib/groovy-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/Groovy/lib/groovy-rt-constants.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/maven/lib/maven-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/gradle-java/lib/gradle-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/Kotlin/lib/kotlin-stdlib.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/Kotlin/lib/kotlin-reflect.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/Kotlin/lib/kotlin-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/devkit/lib/devkit-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/javaFX/lib/javaFX-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/javaFX/lib/common-javaFX-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/jps/android-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/android-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/build-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/android-rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/android-extensions-ide.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/sdk-common-26.6.0.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/common-26.6.0.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/repository-26.6.0.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/sdklib-26.6.0.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/jarutils.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/layoutlib-api-26.6.0.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.1.2/plugins/android/lib/manifest-merger-26.6.0.2.jar;C:/Users/杉田玄白/AppData/Roaming/JetBrains/IdeaIC2020.1/plugins/Scala/lib/scala-library.jar;C:/Users/杉田玄白/AppData/Roaming/JetBrains/IdeaIC2020.1/plugins/Scala/lib/compiler-shared.jar;C:/Users/杉田玄白/AppData/Roaming/JetBrains/IdeaIC2020.1/plugins/Scala/lib/jps/nailgun.jar;C:/Users/杉田玄白/AppData/Roaming/JetBrains/IdeaIC2020.1/plugins/Scala/lib/jps/compiler-jps.jar;C:/Users/杉田玄白/AppData/Roaming/JetBrains/IdeaIC2020.1/plugins/Scala/lib/jps/sbt-interface.jar;C:/Users/杉田玄白/AppData/Roaming/JetBrains/IdeaIC2020.1/plugins/Scala/lib/jps/incremental-compiler.jar;C:/Users/杉田玄白/AppData/Roaming/JetBrains/IdeaIC2020.1/plugins/Scala/lib/spray-json_2.12-1.3.4.jar;C:/Users/杉田玄白/AppData/Roaming/JetBrains/IdeaIC2020.1/plugins/Scala/lib/scala-compiler-indices-protocol_2.12-0.1.1.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 65281 d607197f-42f1-4fc9-b319-d3aff1d2dc11 C:/Users/杉田玄白/AppData/Local/JetBrains/IdeaIC2020.1/compile-server
Error occurred during initialization of VM
Failed setting boot class path.

ぎゃー!!

イヤー!!

助けて、田島メンター!!

ってなりますよね。

残念ながら田島メンターは近くにいないので、ググります。

でました。

StackOverflowさんは本当に神ですね。(>_<)

https://stackoverflow.com/questions/43294333/intellij-idea-abnormal-build-process-termination-after-heap-size-change

JDKが32bitだとこうなるらしいです。

64bit版のJDKをインストールして、IntelliJ でのJDKの指定を64bitのものになおすと、治りました!


コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です