Flex Builder 2 compiler performance issues with outdated Java Virtual Machine versions
Issue
This TechNote describes an issue with compiler performance issues caused by Sun's Java JRE/JDK 1.4.2_10 or earlier or 1.5.0_05 or earlier.
Reason
When using the Flex Builder Plug-ins to Eclipse to compile your .mxml file, you may see slow compiler performance if you have configured your Eclipse environment to use JRE/JDK version 1.4.2_10 or earlier. For more details regarding the issue, please see Suns bug database at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6348045 and related bugs.
Versions of the 1.5 JRE/JDK prior to the 06 minor revision have the same problem.
Solution
For Flex Builder Eclipse plug-in installation:
- Ensure you are running the supported version of Eclipse: 3.1.1
- Install a 1.4.2 JRE/JDK with a minor version later than 10, for example, 1.4.2_11, or a 1.5 with a minor version later than 05, for example, 1.5.0_06.
- If you have multiple versions of the JRE/JDK on your machine, make sure you set the newly installed version as your default JRE/JDK by putting it at the beginning of your system PATH environment variable and set your JAVA_HOME environment variable to its root directory.
For the Flex Builder full installation:
The full version installs Eclipse with a JRE that is not affected by the bug referenced above. You should not encounter this problem with this configuration unless you manually changed your configuration to use a different version of JRE. As above, confirm you are using a JRE/JVM version that is not affected by the referenced bug.
Public_Document
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
