Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Do you need java 6 to run playframework?


Asked by Louis Sampson on Dec 09, 2021 Java



You can launch it with sbt . From within sbt you have access to the same commands as with activator . To run the Play framework, you need Java 6 or later. If you wish to build Play from source, you will need the Git source control client to fetch the source code and Ant to build it.
Keeping this in consideration,
If you’re new to Play, it’s a modern web application framework that is designed to meet the tenets of Reactive Systems. Play gives you the foundation to make scalable and responsive applications based on Functional Programming patterns. This is natural to do in Play and using Java 8 makes these patterns clearer and more concise.
Indeed, However, if you need to work with an older version, you will find links on this page. Versions of Play older than 2.2 are packaged in zip files. The traditional Play zip provides a play command to create new applications, run tests, and run the application. After 2.3.0, the play command was replaced with sbt.
Also,
The shortest way to create a new application via CLI is to provide an application name and template as CLI arguments: It is possible to run just: In this case you will be prompted to select the desired template and an application name. For Play 2.4 add manually to project/plugins.sbt:
Moreover,
The Java and Scala Hello World projects are self-contained tutorials that include a distribution of the sbt build tool. Play requires Java 8 or higher. Check your version with the java -version command and if needed, install it from Oracle's site. Unzip the project in a convenient location.