setting up environment variables in Play! framewor

2019-08-15 07:18发布

I am trying to get the Play! framework up and running. After I extracted Play! version 2.3.0 to C:\Play and adding that directory (C:\Play) to my path in 'Environment Variables' (separated form the other paths with a ;), I tried running it with the command "Play new foobar" and I keep getting the error "'Play' is not recognized as an internal or external command, operable program or batch file."

I have looked at a few possible fixes to this on here

Configuration Variables in Play! Framework

Setting an environment variable for play framework

Adding an environment variable for the Play! Framework

(The third was the most similar but that solution is not working for me.)

1条回答
神经病院院长
2楼-- · 2019-08-15 08:07

In Play 2.3+ play command is replaced by activator.

More details in What's new in Play 2.3 doc

查看更多
登录 后发表回答