Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

Step by step to install Scala + Play Framework in Ubuntu 14.04 with Activator.

Install Scala

sudo apt-get remove scala-library scala
sudo dpkg -i scala-2.11.6.deb
sudo apt-get update
sudo apt-get install scala

Download and Install Play (the folder should have permission to write)

cd /opt
mv activator-1.3.2-minimal activator

Add the activator script to your PATH and execute Activator

cd /opt/activator
export PATH=$PATH:/opt/activator
source ~/.bashrc
chmod a+x activator

After that, check if the activator command is available activator -help So then, create your project

activator new my-first-app play-scala
cd my-first-app

To create play with console:


To create play with UI:

activator ui



This comment has been minimized.

Copy link

@yubrajpokharel yubrajpokharel commented Dec 23, 2015

it says ::
(Running the application, auto-reloading is enabled) ---
[info] p.c.s.NettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
(Server started, use Ctrl+D to stop and go back to the console...)

and i am not being able to run it will you help me to resolve this issue
also after installing play command is also not working it says command not supported
I am using ubuntu 14.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.