Created
October 16, 2014 03:13
-
-
Save omayib/0e324fd34c266429dd7a to your computer and use it in GitHub Desktop.
how to install scala 2.11.2 version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Problem error | |
error: error while loading CharSequence, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken | |
#requierement | |
- i install scala 2.9.1 version (via console sudo apt-get install scala) | |
and java 8 version on my Ubuntu 12.04. | |
#suspect | |
- scala 2.9.1 version which is not yet support for java 8 | |
#solution | |
- remove the old scala then instal to 2.11.2 version with steps below | |
1. sudo apt-get remove scala-library scala | |
2. wget http://www.scala-lang.org/files/archive/scala-2.11.2.deb | |
3. sudo dpkg -i scala-2.11.2.deb | |
4. sudo apt-get update | |
5. sudo apt-get install scala | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. If you already have the .deb package, why is it necessary to run step 4 ?