Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-2708

Can't Run Dashbuilder with JDK 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Undefined
    • NEW
    • NEW

      When using Dashbuilder with JDK 11, this error is thrown: 

      // 21:05:11,557 ERROR [stderr] (MSC service thread 1-7) *** FAILED TO COMPILE CLASS ***
      21:05:11,560 ERROR [stderr] (MSC service thread 1-7) *** Classpath Used: OMMITED
      ...
      
      21:05:11,562 ERROR [stderr] (MSC service thread 1-7) Annotation processing got disabled, since it requires a 1.6 compliant JVM21:05:11,562 ERROR [stderr] (MSC service thread 1-7) Annotation processing got disabled, since it requires a 1.6 compliant JVM21:05:11,562 ERROR [stderr] (MSC service thread 1-7) ----------21:05:11,566 ERROR [stderr] (MSC service thread 1-7) 1. ERROR in /tmp/jboss/errai/54885013d5cabb07713c884a93d8133e1f67e/errai.gen/classes/org/jboss/errai/cdi/EventQualifierSerializerImpl.java (at line 1)21:05:11,566 ERROR [stderr] (MSC service thread 1-7)  package org.jboss.errai.cdi;21:05:11,567 ERROR [stderr] (MSC service thread 1-7)  ^21:05:11,568 ERROR [stderr] (MSC service thread 1-7) The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files21:05:11,569 ERROR [stderr] (MSC service thread 1-7) ----------21:05:11,571 ERROR [stderr] (MSC service thread 1-7) 2. ERROR in /tmp/jboss/errai/54885013d5cabb07713c884a93d8133e1f67e/errai.gen/classes/org/jboss/errai/cdi/EventQualifierSerializerImpl.java (at line 3)21:05:11,571 ERROR [stderr] (MSC service thread 1-7)  import java.util.function.Function;21:05:11,572 ERROR [stderr] (MSC service thread 1-7)         ^^^^^^^^^^^^^^^^^^21:05:11,572 ERROR [stderr] (MSC service thread 1-7) The import java.util.function cannot be resolved

       

      JDK 8 is reaching its EOL and the RHPAM images are all based on JDK 11.

       

       

      full log can be found here: http://pastebin.test.redhat.com/916086

       

              rhn-support-wsiqueir William Siqueira
              rhn-support-fspolti Filippe Spolti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: