I think that will launch mxmlc.bat which uses @java, but FB I think is stuck on Java 6 and @java might resolve to that. Try replacing @java with a full path to a more recent Java.
-Alex On 10/14/14, 2:54 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote: >On Tue, Oct 14, 2014 at 1:35 PM, Alex Harui <aha...@adobe.com> wrote: > >> >> >> On 10/14/14, 1:25 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> >>wrote: >> >> >On Mon, Oct 13, 2014 at 9:14 PM, Alex Harui <aha...@adobe.com> wrote: >> > >> >> Sounds like a FALCON_HOME environment variable is pointing to a >>folder >> >>in >> >> a flex-falcon repo. It needs to point to the FlexJS SDK. >> >> >> > >> >The README in flex-asjs says that FALCON_HOME should point to: >> ><flex-falcon-repo-path>/compiler/generated/dist/sdk, which is what I >> >tried. >> THat’s true for using the repos and running ant. An installed >> IDE-compatible setup is different. I guess we should make that clear in >> the README. >> > >That's what I guessed. I think this page [1] is due for an update as >well. > >[1] >https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+Adobe+F >lash+Builder > > >> >> > >> >Anyways, when I switched FALCON_HOME to point ot the FlexJS >>installation >> >directory, I am getting this error: >> > >> >Using Falcon codebase: C:\p\flexroot\FlexJS >> >Using Flex SDK: C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 >> >Bit)\sdks\ApacheFlex4.13.0_AIR15_FP15 >> >java.lang.UnsupportedClassVersionError: >> >org/apache/flex/compiler/clients/MXMLJSC : Unsupported major.minor >>version >> >51.0 >> You might be pointing at an older version of Java. Double-check what is >> in the launch config. >> > >This is what I see in the launch config: > ><launchConfiguration >type='org.eclipse.ui.externaltools.ProgramLaunchConfigurationType'> ><booleanAttribute key='org.eclipse.debug.core.appendEnvironmentVariables' >value='false'/> ><listAttribute key='org.eclipse.debug.ui.favoriteGroups'> ><listEntry value='org.eclipse.ui.externaltools.launchGroup'/> ></listAttribute> ><stringAttribute >key='org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE' >value='${project}'/> ><stringAttribute key='org.eclipse.ui.externaltools.ATTR_LOCATION' >value='$FLEXJS_HOME/js/bin/$MXMLC'/> ><stringAttribute key='org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS' >value='-fb "${project_loc}"'/> ></launchConfiguration> > >I don't see anything relevant to the error message. Am I looking in the >right place? > >Thanks, >Om > > >> >> -Alex >> >>