The documentation states that there is no production support for the Play Framework on Windows.
Note play is not supporting windows in production mode, therefore stage and start won’t work under windows
I was wondering why this is the case.
Also, is this due to limitations that will be overcome, or is Windows not a first-class target platform?
To run the Play framework, you need JDK 6 or later. If you are using MacOS, Java is built-in. If you are using Linux, make sure to use either the Sun JDK or OpenJDK (and not gcj, which is the default Java command on many Linux distros). If you are using Windows, just download and install the latest JDK package.
Generate configuration To debug, start your application with sbt -jvm-debug 9999 run and in Eclipse right-click on the project and select Debug As, Debug Configurations. In the Debug Configurations dialog, right-click on Remote Java Application and select New. Change Port to 9999 and click Apply.
Play is rock-solid and used by hundreds of thousands of Java and Scala developers every month. Play is still extremely relevant to today's application and web development and has a passionate and very capable community around it ensuring that it has many good years left.
We have had success with using the Commons Daemon to run Play applications on Windows in production.
We use dist
to package the application for distribution, then install as a Windows service using the Commons Daemon.
The stage
feature uses chmod
, see this line of code. As for the dist
and start
feature I am not quite sure. As @biesior pointed out, this ticket might provide a workaround.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With