Anyone tried installing the Play framework or Scala on Ubuntu 12.04 64bit?

  • Posted November 30, 2012

I am going to try it. I was able to install Java 1.7, Scala, and Play! on my other VPS. I was able to set up a Play! project with Scala, it built just fine, and I was able to run the app. I could not get to the server for some reason. I rebooted my VPS, logged in via Putty, and boom the Play! path with no longer work. I will give it a shot.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I’m trying to get Play running via Dokku but I constantly run out of memory. I’m using a 1 GB Droplet with 2GB swap. How do I get over this?

[error] (compile:compile) Cannot run program "javac": error=12, Cannot allocate memory
       [error] Total time: 239 s, completed Jun 27, 2014 3:13:48 AM
 !     Failed to build app with sbt

I am on the same boat. <br>I downloaded Play and when I run my app is ends with “Killed”. <br>I am going to try swap you mentioned.

i am also elvaluating play but not really happy with 512MB

How’d your testing go Jeff? Do you recommend Play on this service?

Hi raiyu. <br> <br>I am running Ubuntu 12.04 LTS of the 512 MB variety (not that it would help much), but I know Play! was quite slow on my other VPS. I added the swap file so we will see what happens. I know the JVM is a resource hog. I am going to try it. Worst case scenario…I re-image and try something else…not a big deal :-) I am trying to figure out what would work best for the app I am trying to build.

If you were running it on a 256MB virtual server it sounds like you may be running out of resources, given that you are install Java and a couple of things that may take up a lot of memory. <br> <br>You can add swap: <br> <br> <br> <br> <br> <br>Or try a larger server. <br>

err would no longer work