0 Replies Latest reply on Mar 30, 2011 11:49 PM by Flex Rock

    Error while compiling resource Module (Very urgent)

    Flex Rock Level 1

      Hi all,

                  While i was trying to compile my resource file to swf through command line '
      C:\Users\Karthikeyan R\Documents\Flash Builder 4\ttv_multiplethemes_localization>"C:\Program Files\Adobe\Flash Builder 4\Adob
      e Flash Builder 4\sdks\4.1.0\bin\mxmlc" -locale=fr_FR -source-path=locale\{locale} -include-resource-bundles=TtvText -output
      fr_FR_ResourceModule.swf'
        in Flash builder4 using 4.1.0 sdk. I am getting an error like this.

       

      Exception in thread "main" java.lang.UnsupportedClassVersionError: flex2/tools/Mxmlc (Unsupported major.minor version 49.0)
              at java.lang.ClassLoader.defineClass0(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 3)
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
              at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:272)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)

       

      But i was able to convert to swf using Flexbuilder3.

       

      regards,

      Jayagopal.