java8 and scala on Ubuntu

By default:

sudo apt-get install java scala

Istalled for my Ubuntu OpenJDK 7. blog post help me install Java 8 from Oracle:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Test what version is installed:

java -version
javac -version

Installation of latest scala (2.11.7) I’ve done based on Larysa Visengeriyeva instructions on github:

sudo apt-get remove scala-library scala
sudo dpkg -i scala-2.11.7.deb

SBT was installed by default in latest version.

Check installed version:

scala> util.Properties.versionString

It worked. I deserve a beer. Cheers!

java logo with beer

This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s