E4/SWT/Running the demos
The SWT port for Flex consists of the Adobe Flex environment (the ActionScript compiler), the Flex tools plugins (which provides the tools needed to compile and launch Java code in a Flash player) and the Eclipse target environment (the running plugins, the SWT port itself and example code). NOTE: That the both the tools and the port are in the pre-alpha stage. You are living on the bleeding edge. Good luck!
The Eclipse target environment provides support for compiling, launching and debugging java applications in flash player.
Setup Flex environment:
- Download and install the Adobe Open Source Flex SDK (available from http://opensource.adobe.com). NOTE: The path where you install the Flex SDK must contain no spaces. This is due to a bug in FCSH.
- Verify that your Flex install works by opening a command prompt, changing to the Flex SDK bin directory, typing "mxmlc" and hitting Enter. If you get a message like the following, you will need to add a JAVA_HOME environment variable that points to the home dir or edit the bin/jvm.config file in the Flex SDK.
Error: could not find JRE Error: could not find Java 2 Runtime Environment.