On 11/23/12 10:19 PM, "Cyrill Zadra" <cyrill.za...@gmail.com> wrote:

> One step further. Could execute the ant target jar and it created all
> the libraries.
> 
> Now I've got following exception.
> 
> tiezad@elitebook-zadra /cygdrive/c/dev/apache-flex/falcon/compiler.js/bin
> $ ./mxmlc ../test/TestApp.as
> Using Falcon codebase: ./../../compiler
> Using Flex SDK: ./../../compiler/generated/dist/sdk
> java.lang.NoClassDefFoundError: org/apache/flex/compiler/clients/MXMLJSC
> Caused by: java.lang.ClassNotFoundException:
> org.apache.flex.compiler.clients.MXMLJSC
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class:
> org.apache.flex.compiler.clients.MXMLJSC. Program will exit.
> Exception in thread "main
> 
> I use windows (cygwin) so maybe thats the issue.
Maybe.  I haven't tried it on Windows.  I think there is some Java utility
that will dump out the jar and see if that class is in there or not.



-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to