www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (JIRA)" <j...@apache.org>
Subject [jira] [Created] (INFRA-9743) Jenkins build with Java 1.5 not possible
Date Fri, 29 May 2015 08:21:19 GMT
Udo Schnurpfeil created INFRA-9743:
--------------------------------------

             Summary: Jenkins build with Java 1.5 not possible
                 Key: INFRA-9743
                 URL: https://issues.apache.org/jira/browse/INFRA-9743
             Project: Infrastructure
          Issue Type: Bug
            Reporter: Udo Schnurpfeil


Using JDK 1.5 failed, because a part of Jenkins seems to be compiled for JDK 1.6

[tobago-1.0.x] $ /home/jenkins/tools/java/ibm-1.5-32/bin/java -Xmx2g -Xms256m -XX:MaxPermSize=512m
-cp /home/jenkins/jenkins-slave/maven-agent.jar:/home/jenkins/jenkins-slave/classworlds.jar
hudson.maven.agent.Main /home/jenkins/tools/maven/apache-maven-2.2.1 /home/jenkins/jenkins-slave/slave.jar
/home/jenkins/jenkins-slave/maven-interceptor.jar 38984 /home/jenkins/jenkins-slave/maven2.1-interceptor.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: (hudson/remoting/Launcher)
bad major version at offset=6
	at java.lang.ClassLoader.defineClassImpl(Native Method)
...

There might be a workaround: https://issues.jenkins-ci.org/browse/JENKINS-25272



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

Mime
View raw message