22 Replies Latest reply: Sep 18, 2014 7:22 AM by publipresse RSS

    Flash CS6 AIR error: CreateWinProcess failed with error 2. The system cannot find the file specified

    Master §ix Community Member

      I created an AIR application in Adobe Flash CS6, but when I test, debug or publish it, an error always occured.

       

      CreateWinProcess failed with error 2. The system cannot find the file specified.

       

      When I clicked OK, Flash suddenly stops responding, so I need to end the process using Task Manager.

       

      I created a blank FLA document and tested and published it, everything's fine there. It was exported properly. But when I do it with the AIR app, Flash can't even start exporting the SWF of the AIP app, and instead gave me the error.

       

      I speculate that there is something wrong with the Java command line stuff Flash is doing behind the curtain. I tried using ADL myself and get the AIR app working fine.
      I also found out that Flash has its own JRE installed, so I don't have to bother the JRE used by my computer.

       

      Is there any way to fix this? Thanks in advance. Have a nice day!