scala - SBT 1.0 crash - java.lang.VerifyError: Uninitialized object exists on backward branch -
after installing sbt 1.0.1 on windows 10, running sbt command causes error below. identical error reported in sbt git issue, have jdk 1.8.0_144 installed.
c:\>java -version java version "1.8.0_144" java(tm) se runtime environment (build 1.8.0_144-b01) java hotspot(tm) 64-bit server vm (build 25.144-b01, mixed mode) >sbt new sbt/scala-seed.g8 "c:\users\****\.sbt\preloaded\org.scala-sbt\sbt\"1.0.1"\jars\sbt.jar" java hotspot(tm) 64-bit server vm warning: ignoring option maxpermsize=256m; support removed in 8.0 java.lang.verifyerror: uninitialized object exists on backward branch 162 exception details: location: scala/util/matching/regex.unapplyseq(lscala/util/matching/regex$match;)lscala/option; @216: goto reason: error exists in bytecode bytecode: 0x0000000: 2bc6 000a 2bb6 00ef c700 07b2 0052 b02b 0x0000010: b600 f2b6 00f3 2ab6 0054 4d59 c700 0b57 0x0000020: 2cc6 000d a700 c92c b600 f799 00c2 bb00
...
this fixed after removing folder pointing older version of jdk path environment variable. latest oracle installed version of java.exe earlier in path, suspect going old folder find javac.exe of steps sbt running. had java_home environment variable set older jdk , removed safe measure.
Comments
Post a Comment