scala 安装成功后jvm也安装完成,但是还是运行不了
1个回答
展开全部
重新提几次就可以解决了,见下面的过程:在windows和linux都试验过,都是这样,原理还不清楚
root@soso-ThinkPad-X61:/home/soso# scala Hello.scala
error: error while loading CharSequence, class file '/home/soso/dev/jdk1.8.0_25/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken
(bad constant pool tag 18 at byte 10)
one error found
root@soso-ThinkPad-X61:/home/soso# vim Hello.scala
root@soso-ThinkPad-X61:/home/soso# scala Hello.scala
error: error while loading AnnotatedElement, class file '/home/soso/dev/jdk1.8.0_25/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken
(bad constant pool tag 18 at byte 76)
one error found
root@soso-ThinkPad-X61:/home/soso# scala Hello.scala
use
root@soso-ThinkPad-X61:/home/soso# scala Hello.scala
error: error while loading CharSequence, class file '/home/soso/dev/jdk1.8.0_25/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken
(bad constant pool tag 18 at byte 10)
one error found
root@soso-ThinkPad-X61:/home/soso# vim Hello.scala
root@soso-ThinkPad-X61:/home/soso# scala Hello.scala
error: error while loading AnnotatedElement, class file '/home/soso/dev/jdk1.8.0_25/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken
(bad constant pool tag 18 at byte 76)
one error found
root@soso-ThinkPad-X61:/home/soso# scala Hello.scala
use
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询