Follow the official install instructions (these steps will only work for 2.1.* versions of the Play Framework). Afterwards:
play new myFirstApp
creates a new app, in the current directory, inside a new folder calledmyFirstApp
- Now try to run it. First go inside that folder (
cd myFirstApp
), and run it (play
). - [Optional step] You can transform your Play application into an Eclipse project, by running
play eclipse
. If you want Play’s source files and javadoc to be attached to the Eclipse project, you should executeplay "eclipse with-source=true"
instead.