安装播放框架 [英] Installing play framework

查看:85
本文介绍了安装播放框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 7上,正在尝试安装播放框架.

I am on windows 7 and I am trying to install play framework.

我使用
在系统变量中创建了环境变量 变量名称::播放值: c:\ webapp \ play \

I created the environment variable in system variables with
variable name: play, value: c:\webapp\play\

当我试图从指挥官那里运行play help时,它说

When I am trying to run play help from commander it says

play is not recognized as an internal or external command, operable program or 
batch file and it is running only in the directory of c:webapp\play.

我做错什么了吗?

推荐答案

要能够在命令行的任何位置运行Play,请创建一个指向play文件夹的PLAY_HOME环境变量,例如c:\play-2.0.1,并将%PLAY_HOME%添加到PATH环境变量.

To be able to run Play anywhere on the command line, create a PLAY_HOME environment variable pointing to the play folder, for e.g. c:\play-2.0.1, and add %PLAY_HOME% to the PATH environment variable.

这篇关于安装播放框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆