Thanks for everyones help and suggestions. Ive realised I've kind of been going round in circles, so im focusing on getting up and running by following the instructions here https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+IntelliJ+IDEA
I've set up my modules & SDK's correctly (i think) as i seem to now have intelisense etc in a mxml file with a js namespace (using the yellow world example) however when i try to compile i end up with the following error ``` Error:[flexjs]: java.lang.UnsupportedClassVersionError: com/google/javascript/jscomp/ErrorManager : Unsupported major.minor version 51.0 ``` some googling tells me that this is a java version issue and the the java version used when compiling is less that 51 (JDK8) im pretty sure i have JDK8 & JRE8 installed ``` chrismatheson:unitsofsound$ java -version java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode) ``` however the first line of the compilation output suggest that its using 1.6 for some reason ``` Information:[flexjs]: Starting Flex compiler: /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -d32 -Dapplication.home=/Users/chrismatheson/Code/unitsofsound/node_modules/flexjs -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -classpath "/Applications/IntelliJ IDEA 14.app/Contents/plugins/flex/lib/idea-flex-compiler-fix.jar:/Applications/IntelliJ IDEA 14.app/Contents/plugins/flex/lib/flex-compiler.jar:/Users/chrismatheson/Code/unitsofsound/node_modules/flexjs/lib/flex-compiler-oem.jar" com.intellij.flex.compiler.FlexCompiler 60050 ``` has anyone encountered this before? cheers Chris -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/flexjs-Help-setting-up-flexjs-project-tp14183p14207.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
