topbox icon indicating copy to clipboard operation
topbox copied to clipboard

Error while loading CharSequence, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken

Open serin-mathew opened this issue 7 years ago • 2 comments

I am getting the follwoing error , I have Scala 2.11.6 , java 8 and sbt 1.1.6. Can you please help me figure out why I am getting the following errors while running STMT with the xample script?

version error: error while loading CharSequence, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken (bad constant pool tag 18 at byte 10) error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken (bad constant pool tag 18 at byte 76) error: error while loading CharSequence, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken (bad constant pool tag 18 at byte 10) error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken (bad constant pool tag 18 at byte 76)

serin-mathew avatar Jul 23 '18 09:07 serin-mathew

Try to downgrade to Java 6 or 7. This is their support note:

TMT was written during 2009-10 in what is now a very old version of Scala, using a linear algebra library that is also no longer developed or maintained. Some people still use this code and find it a friendly piece of software for LDA and Labeled LDA models, and more power to you. If you're just using the software bundle as is, it'll probably work fine. However, if you're trying to incorporate this code into a larger project, you'll have deep trouble due to its age. At this point we really can't offer any support or fix any problems. Sorry about that. If someone would like to take over the code and update it, let us know.

cmry avatar Jul 23 '18 09:07 cmry

Thank you ! I was looking for a good way to build an LDA model as part of a much larger algorithm. Looks like TMT might not be the best way ahead.

On Mon, Jul 23, 2018 at 3:14 PM Chris Emmery [email protected] wrote:

Try to downgrade to Java 6 or 7. This is their support note:

TMT was written during 2009-10 in what is now a very old version of Scala, using a linear algebra library that is also no longer developed or maintained. Some people still use this code and find it a friendly piece of software for LDA and Labeled LDA models, and more power to you. If you're just using the software bundle as is, it'll probably work fine. However, if you're trying to incorporate this code into a larger project, you'll have deep trouble due to its age. At this point we really can't offer any support or fix any problems. Sorry about that. If someone would like to take over the code and update it, let us know.

-------- Original Message -------- On Jul 23, 2018, 11:39, serin-mathew wrote:

I am getting the follwoing error , I have Scala 2.11.6 , java 8 and sbt 1.1.6. Can you please help me figure out why I am getting the following errors while running STMT with the xample script?

version error: error while loading CharSequence, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken (bad constant pool tag 18 at byte 10) error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken (bad constant pool tag 18 at byte 76) error: error while loading CharSequence, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken (bad constant pool tag 18 at byte 10) error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken (bad constant pool tag 18 at byte 76)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clips/topbox/issues/9#issuecomment-407000943, or mute the thread https://github.com/notifications/unsubscribe-auth/Aj3gPhQA6R3201xXheKQzADhLxsqRmHmks5uJZrygaJpZM4VarK- .

serin-mathew avatar Jul 23 '18 09:07 serin-mathew