I have installed Google application engine following instructions here: http://code.google.com/appengine/docs/java/gettingstarted/installing.html
However, running dev_appserver.cmd script causes strange errors:
/C/Program Files/appengine-java-sdk-1.3.5/bin/dev_appserver.cmd: line 1: @java:
command not found
/C/Program Files/appengine-java-sdk-1.3.5/bin/dev_appserver.cmd: line 2: com.goo
gle.appengine.tools.KickStart: command not found
/C/Program Files/appengine-java-sdk-1.3.5/bin/dev_appserver.cmd: line 3: com.goo
gle.appengine.tools.development.DevAppServerMain: command not found
Same thing happens on WindowsXP 32bit and Windows7 64bit, when running using Windows dos prompt window, and under GNU bash, version 3.1.0(3)-release (i686-pc-msys) shell.
Environment variables:
APP_ENGINE_HOME=/C/Program Files/appengine-java-sdk-1.3.5
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_16
Any suggestions what maybe wrong?
I highly doubt that the Bash shell is capable of understanding the .cmd
script syntax.
If you want to use a Bash shell, you should be able to run dev_appserver.sh
, which is bundled with the SDK as well as the .cmd
version.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.