Madhan Neethiraj created ATLAS-4740:
---------------------------------------

             Summary: support build using higher version JDK, with 1.8 as 
target version
                 Key: ATLAS-4740
                 URL: https://issues.apache.org/jira/browse/ATLAS-4740
             Project: Atlas
          Issue Type: Improvement
          Components:  atlas-core
            Reporter: Madhan Neethiraj
            Assignee: Madhan Neethiraj


Atlas requires JDK8 to build. Recent changes in infra, like Jenkins, require 
using JDK11 or above to build. Building with JDK8 results in the failure given 
below.

 

To address this issue, Atlas should be updated to build using later version 
JDK, still continuing to generate libraries for JDK8.

 
{noformat}
[Atlas-master-snapshot-publish] $ /home/jenkins/tools/java/latest1.8/bin/java 
-Xmx16g -Xms16g -Dfile.encoding=UTF-8 -Dproject.build.sourceEncoding=UTF-8 -cp 
/home/jenkins/maven35-agent.jar:/home/jenkins/tools/maven/apache-maven-3.6.3/boot/plexus-classworlds-2.6.0.jar:/home/jenkins/tools/maven/apache-maven-3.6.3/conf/logging
 jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/apache-maven-3.6.3 
/home/jenkins/agent.jar /home/jenkins/maven35-interceptor.jar 
/home/jenkins/maven3-interceptor-commons.jar 36489
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
hudson/remoting/Launcher has been compiled by a more recent version of the Java 
Runtime (class file version 55.0), this version of the Java Runtime only 
recognizes class file versions up to 52.0
 {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to