-
Notifications
You must be signed in to change notification settings - Fork 721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openjdk6 builds failed with "NB: JAVA_HOME should point to a JDK not a JRE" #8452
Comments
Seems openjdk6 is not coming along with trusty VM as described in #8199 (comment) After adding To make everything working, below travis config can be helpful, credit: travis-ci/enterprise-installation#14 (comment)
|
Closing |
* Support Java 9+ There was a change made to the oauth2-useragent dependency to fix an issue with parsing newer versions of Java. This change updates to that newer version to include the fix. Additionally, it appears javax.xml.bind is no longer included with Java 9. This has been included as a maven dependency to resolve class def errors once the oauth2-useragent error was resolved. * Attempt to load jdk6 * Version of maven is incompatible with jdk6 Need to use an older version of maven if it will use jdk6. Relevant issue on Github for Travis: travis-ci/travis-ci#8452 * Closer version to the last green build. * Build with jdk7
Travis has removed openjdk6 for saving space, hence adding it from addon and the version of maven which is by default used in travis requires minimum jdk7, hence installing specific version of maven. For more info refer : https://docs.travis-ci.com/user/reference/trusty/#jvm-clojure-groovy-java-scala-images travis-ci/travis-ci#8452
Recent openjdk6 builds failed with below messages, one example https://travis-ci.org/aliyun/fc-java-sdk/jobs/276211613,
java -Xmx32m -version
shows java 1.8. I saw a similar issue #8423 that was closed as a duplicate of #7884, but that only mentioned switching from oraclejdk7 to openjdk7.Any idea what happened to openjdk6?
The text was updated successfully, but these errors were encountered: