Skip to content

openjdk 11 on JIPPs broken?

Summary

(follow-up to #1301 (comment 1031529))

The OpenJDK 11 install on the JIPPs does not work the same as the AdoptOpenJDK 11 version. This leads to the following build error in Orbit when using OpenJDK11:

Failed to execute goal on project org.apache.ant: Could not resolve dependencies for project org.eclipse.orbit.bundles:org.apache.ant:eclipse-bundle-recipe:1.10.12-SNAPSHOT: Could not transfer artifact javax.media:jai-core:jar:1.1.3 from/to jboss (https://repository.jboss.org/nexus/content/groups/public/): transfer failed for https://repository.jboss.org/nexus/content/groups/public/javax/media/jai-core/1.1.3/jai-core-1.1.3.jar: peer not authenticated -> [Help 1]

Steps to reproduce

export JAVA_HOME=/opt/tools/java/openjdk/jdk-11/11.0.2+9 # path to openjdk-jdk11-latest
export PATH="$JAVA_HOME/bin:$PATH"
/opt/tools/apache-maven/latest/bin/mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=info package

Run the build and you get the above error.

Chang JAVA_HOME to:

export JAVA_HOME=/opt/tools/java/adoptopenjdk/hotspot-jdk-11/11.0.11+9 # path to adoptopenjdk-hotspot-jdk11-latest

Run the build and the jai-core-1.1.3.jar downloads fine.

The above is setup as a job on the Orbit JIPP https://ci.eclipse.org/orbit/job/reproducer-for-helpdesk-issue-1301/

What is the current bug behavior?

Covered above.

What is the expected correct behavior?

Covered above.

Relevant logs and/or screenshots

See https://ci.eclipse.org/orbit/job/reproducer-for-helpdesk-issue-1301/

Priority

  • Urgent
  • High
  • Medium
  • Low

Severity

  • Blocker
  • Major
  • Normal
  • Low

Impact

I have swapped to using adoptopenjdk for Orbit, so not blocking anything.