Auxiliary Tools :: Play Framework :: First Application Example


activator new first
Select 5) play-java
The command creates a new Play Java application called first.
cd first
$ activator
From CLI activator:
[first] $ run
And next in browser:
Setting up Eclipse
In plugins.sbt add:
addSbtPlugin(“com.typesafe.sbteclipse” % “sbteclipse-plugin” % “4.0.0”)
Restart activator.
[first] $ eclipse
Import project first.
first Application Change
  • Activator CLI: run
  • Change in public Result index() {return ok(“My First Play Application”);}
  • restart browser (localhost:9000):


Leave a Reply