Skip to content
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

.travis.yml: add oraclejdk9 #268

Closed

Conversation

PascalSchumacher
Copy link
Contributor

No description provided.

@kinow
Copy link
Member

kinow commented Jun 12, 2017

Looks like it's not quite ready yet. Had a look at the ticket mentioned below, and followed links to other tickets, and looks like it's still WIP. So let's wait until Java 9 is released to merge it (WAS: +1 lgtm!)

@britter
Copy link
Member

britter commented Jun 12, 2017

Travis build failed. Any idea why? Java 8 has an heap space error, while the Java 9 build reports an unrecognized VM option.

@kinow
Copy link
Member

kinow commented Jun 12, 2017

Ooh, looked at the wrong green icon. JDK 7 complained about JAVA_HOME location... weird. Related issue in travis-ci repo travis-ci/travis-ci#5520

@PascalSchumacher
Copy link
Contributor Author

Another problem is that the maven version used by travis does not work with jdk 9 as far as I know.

@ameyjadiye
Copy link
Contributor

As per Travis-ci documentation doesnt seems they support oraclejdk9

https://docs.travis-ci.com/user/languages/java/

The Travis CI environment provides Oracle JDK 7 (default), Oracle JDK 8, OpenJDK 6, OpenJDK 7, Gradle 2.0, Maven 3.2 and Ant 1.8, and has sensible defaults for projects that use Gradle, Maven or Ant.

Thats why I added Docker Image for ibmjdk8 to Commons text apache/commons-text#45

@PascalSchumacher
Copy link
Contributor Author

It is not officially supported, but it is possible.

For example https://github.com/jacoco/jacoco and https://github.com/apache/logging-log4j2 use jdk 9 on travis.

@ameyjadiye
Copy link
Contributor

Hmm, how about using docker service for this ? , I have raised same for ibmjdk8 #271

@PascalSchumacher
Copy link
Contributor Author

The build works using java 9 locally. I guess its only a few months at most until jdk 9 will be officially supported on travis, so I won't invest any more time into this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants