Hi,

I've developed my first sencha touch application, but I can't seem to generate a production version. It fails indicating that it can't locate java. However, it is installed and its path is valid as shown below. Failure is in minification of app.js. Any help would be much appreciated. Thanks.


C:\dev\apache-tomcat-7.0.26\webapps\ROOT\GS>java -version
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)


C:\dev\apache-tomcat-7.0.26\webapps\ROOT\GS>sencha app build production
[INFO] Deploying your application to C:\dev\apache-tomcat-7.0.26\webapps\ROOT\GS
\build\production
[INFO] Copied sdk/sencha-touch.js
[INFO] Copied app.js
[INFO] Copied resources/css/app.css
[INFO] Copied resources/images
[INFO] Copied resources/icons
[INFO] Copied resources/loading
[INFO] Resolving your application dependencies...
[INFO] Found 196 dependencies. Concatenating all into app.js...
[INFO] Processed sdk/sencha-touch.js
[INFO] Minifying sdk/sencha-touch.js
[INFO] Processed app.js
[INFO] Minifying app.js
[INFO] Minifying resources/css/app.css
[ERROR] Error: Command failed: 'java' is not recognized as an internal or external command,
operable program or batch file.


[ERROR] 'java' is not recognized as an internal or external command, operable program or batch file.
[ERROR] Error: Command failed: 'java' is not recognized as an internal or external command,
operable program or batch file.
[ERROR] 'java' is not recognized as an internal or external command,operable program or batch file.
[ERROR] Error: Command failed: 'java' is not recognized as an internal or external command,
operable program or batch file.
[ERROR] 'java' is not recognized as an internal or external command,operable program or batch file.


C:\dev\apache-tomcat-7.0.26\webapps\ROOT\GS>java -version
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)


C:\dev\apache-tomcat-7.0.26\webapps\ROOT\GS>