views:

285

answers:

1

I have made an AIR 2.0 app that uses NativeProcess so it needs to be packaged as a native installer (.exe) rather than a .air file.

I first tried using Package Assistant but I kept getting an error telling me it cannot load keystore file. so I tried using the command line

I use:

pathToAirSDK/bin>adt -args

but I get an error telling me that

'java' is not a recognized as an internal or external command...

Has anyone packaged a native installer for an AIR 2.0 app? How did you do it?

edit

forgot to mention I am doing this in windows using the windows command line.

A: 

After installing the Java JDK it worked. I do not know why I needed to have the JDK installed since I was not making a java app.

John Isaacks
You shouldn't need the JDK, just the runtime. The Flex tools are written in Java. It's likely that java.exe wasn't accessible from your command line path, but installing the JDK automatically added it for you by coincidence.
joshtynjala
Thanks that makes sense.
John Isaacks