Adobe Flash Builder
Adobe Flash Builder 4.7 is an Integrated Development Environment (IDE) for developing games and applications using ActionScript and Flex framework.
When packaging an AIR application for desktop, you might encounter an error- “Could not generate time-stamp: Remote host closed connection during handshake”.
This error occurs due to the presence of Java 6 in Flash Builder. Please follow the steps below to fix this error:
- Run Flash Builder with Java 7/8 by following the steps mentioned in the article Running Flash Builder with Java 7/8.
- Add the line below in the FlashBuilder.ini file in the installation directory of Flash Builder.
Run Flash Builder with Java 7/8 as mentioned in the article Running Flash Builder with Java 7/8.
Command Line/ Terminal
When packaging through command line (Windows) / Terminal (Mac), you need to set the Java version to 1.7 or 1.8 to avoid errors.