You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/04/05 06:22:00 UTC
[jira] [Commented] (ATLAS-4740) support build using higher version JDK, with 1.8 as target version
[ https://issues.apache.org/jira/browse/ATLAS-4740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17708692#comment-17708692 ]
ASF subversion and git services commented on ATLAS-4740:
--------------------------------------------------------
Commit 7ab30522583167bb663b3ee7032a7b71a28025b5 in atlas's branch refs/heads/master from Madhan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=7ab305225 ]
ATLAS-4740: enable building Atlas using JDK versions higher than 8
> 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
> Priority: Major
>
> 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)