Skip to main content
Jump to: navigation, search

E4/SWT/Running the demos

< E4
Revision as of 15:24, 6 February 2009 by Gheorghe.ca.ibm.com (Talk | contribs) (New page: 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 Flas...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

  1. 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.
  2. 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.

Back to the top