I am trying to use Stanford Topic Modeling Toolbox. I have Scala 2.12, Java version 1.8.0_111, sbt installed as stated in their website.
Now when I run: java -jar tmt-0.4.0.jar example-0-test.scala
I get following error message:
error: error while loading CharSequence, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken
(bad constant pool tag 18 at byte 10)
I searched about this error. link1, link2 describes multiple java versions running and incompatible versions of Java and Scala. I do not have those problem.
Why is the error message being shown? How can I fix the problem?