You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Carol Frampton (JIRA)" <ji...@apache.org> on 2012/08/01 16:06:02 UTC

[jira] [Commented] (FLEX-33155) Uncaught exception in compiler, when JRE 1.7 is used

    [ https://issues.apache.org/jira/browse/FLEX-33155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426626#comment-13426626 ] 

Carol Frampton commented on FLEX-33155:
---------------------------------------

Java 1.7 is not yet supported by Apache Flex although we hope to support it in the near future.

>From the README

Java SDK 1.5 (0_13 or greater)              JAVA_HOME
    or Java SDK 1.6 (*1)
     -- Java SDK 1.7 is not supported
                
> Uncaught exception in compiler, when JRE 1.7 is used
> ----------------------------------------------------
>
>                 Key: FLEX-33155
>                 URL: https://issues.apache.org/jira/browse/FLEX-33155
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Compiler API
>    Affects Versions: Apache Flex 4.8 (parity release)
>         Environment: JRE version 1.7.0_05 , FlashBuilder 4.6 , Apache Flex 4.8(parity release)
>            Reporter: Sudhir
>              Labels: Compiler, java_1.7
>         Attachments: UncaughtException_Compiler.log
>
>
> Steps to Reproduce:
> 1. Download the Apache SDK using AIR tool (available at http://people.apache.org/~bigosmallm/installapacheflex/ ) which also packages the SDK to use with Flash builder.
> 2. Download JRE 1.7
> 3. Install Flash Builder 4.6
> 4. Go to the installed FB location and delete the JRE folder already present in the FB installed location
> 5. Copy the JRE 1.7 folder into the installed location. (jre folder should be renamed from jre7 to jre)
> FB will now use JRE 1.7 instead of using the bundled 1.6
> 6. Configure FB to use Apache SDK which was downloaded in step 1. 
> 7. Create a Flex project using Apache SDK
> 8. Now create a new AS class inside the new project 
> Actual result: Internal build error in problems view. The error log says that there was an uncaught exception in the compiler. 
> Expected result: There should be no such errors
> Workaround: Add a line "-Djava.util.Arrays.useLegacyMergeSort=true" in the FlashBuilder.ini 
> Note: This issue is specific to Apache SDK. It is working fine with the released version of Flex SDK 4.6

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira