Skip to content

Instantly share code, notes, and snippets.

@bigsnarfdude
Last active March 8, 2021 09:40
Show Gist options
  • Select an option

  • Save bigsnarfdude/b2eb1cabfdaf7e62a8fc to your computer and use it in GitHub Desktop.

Select an option

Save bigsnarfdude/b2eb1cabfdaf7e62a8fc to your computer and use it in GitHub Desktop.
ubuntu 14.04 install scala 2.11.7 and sbt 13.9 and java 8 and git
# scala install
wget www.scala-lang.org/files/archive/scala-2.11.7.deb
sudo dpkg -i scala-2.11.7.deb
# sbt installation
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
sudo apt-get update
sudo apt-get install sbt
# java install
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
# git install
sudo apt-get install git
@etspaceman
Copy link
Copy Markdown

Thanks for this. I've used this snippet in my own environments.

@raidery
Copy link
Copy Markdown

raidery commented Apr 15, 2016

good

@ttekun
Copy link
Copy Markdown

ttekun commented Jun 29, 2016

👍 thanks!

@colin4124
Copy link
Copy Markdown

Here is error, how to fix it?

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
java.lang.NoClassDefFoundError: sbt/serialization/package$

@obar1
Copy link
Copy Markdown

obar1 commented Jul 3, 2018

install java first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment