I am working through Apache Cordova Amazon-fireos guide
But I am getting an Ant path error when performing "cordova platform add amazon-fireos" command. Looking at the code it looks like it is doing a pre-req check and trying to execute ant -version but failing. I then tried skipping that pre-req only for it to then error out when it tries to execute java -version. But after the cordova command errors out I can type ant -version and java -version and both commands execute successfully, see screenshot below.
I am running Windows 7 Pro 64bit and my path variables looks like this: JAVA_HOME = C:\Program Files\Java\jdk1.7.0_51 ANT_HOME = c:\apache-ant-1.9.3
PATH=C:\Program Files\nodejs;%ANDROID_HOME%;%ANDROID_TOOLS%; C:\Users\Super\AppData\Roaming\npm;%JAVA_HOME%\bin;%ANT_HOME%\bin
Here is the screenshot from running the command with the -d option.