Robert Metzger created FLINK-1637:
-------------------------------------

             Summary: Flink uberjar does not work with Java 6
                 Key: FLINK-1637
                 URL: https://issues.apache.org/jira/browse/FLINK-1637
             Project: Flink
          Issue Type: Bug
    Affects Versions: 0.9
         Environment: Java 6
            Reporter: Robert Metzger
            Assignee: Robert Metzger
            Priority: Critical


Apparently the uberjar created by maven shade does not work with java 6

{code}
/jre1.6.0_45/bin/java -classpath 
flink-0.9-SNAPSHOT/lib/flink-dist-0.9-SNAPSHOT-yarn-uberjar.jar 
org.apache.flink.client.CliFrontend
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/flink/client/CliFrontend
Caused by: java.lang.ClassNotFoundException: org.apache.flink.client.CliFrontend
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.apache.flink.client.CliFrontend.  Program 
will exit.

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to