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
Add Java 9 to the list of available JVM #4178
Comments
👍 |
Until we update the build environment (not yet scheduled), you can do this manually. I've enabled Oracle Java 9 (travis-ci/apt-package-safelist@d69505b). You still need to set up your environment manually, but you can use it. On containers: sudo: false
addons:
apt:
packages:
- oracle-java9-installer
before_install:
- remove_dir_from_path $JAVA_HOME/bin
- export JAVA_HOME=/usr/lib/jvm/java-9-oracle
- export PATH=$JAVA_HOME/bin:$PATH
- java -version On standard infrastructure: sudo: required
before_install:
- sudo apt-get update -qq
- sudo apt-get install oracle-9-installer
- remove_dir_from_path $JAVA_HOME/bin
- export JAVA_HOME=/usr/lib/jvm/java-9-oracle
- export PATH=$JAVA_HOME/bin:$PATH
- java -version |
Is there a way to have build matrix with |
any plan for this? |
Ping? |
Pong |
Java 9 has been released now: https://docs.oracle.com/javase/9/ |
According to https://docs.travis-ci.com/user/languages/java/ Java 9 is available: add |
Indeed. |
Doesn't work for me. I'll raise a different issue. Edit: Raised #8513. |
Even thought Java 9 is not final yet, it would be great if we could build and test projects on it, especially when those projects are libraries or frameworks.
The text was updated successfully, but these errors were encountered: