-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
List of supported JVMs on Ubuntu Focal incorrect (OpenJDK 8 unsupported) #2902
Comments
Perhaps related to sormuras/bach#72? |
@sormuras The message is a different one and the |
Ah, ok.
|
That's something which Travis CI has to fix or make very clear that OpenJDK 8 is not supported on the Ubuntu Focal build environment out of the box. 😉 |
I understand that this is not working out of the box, but could someone point me to any working instructions on how to setup OpenJDK 8 on Focal. Nearly everything I've tried appears to be out-of-date documentation. |
@hnarayanan You could install Zulu Community as described here: |
Thank you. I went with a different approach and document the solution below in case it helps anyone. In the following example, I am trying to set up an older Java for an older elasticsearch. In
Alternatively you can just |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
According to the documentation about the Ubuntu 20.04 (Focal Fossa) Build Environment, it should come with OpenJDK 8 preinstalled:
https://docs.travis-ci.com/user/reference/focal/#jvm-clojure-groovy-java-scala-support
https://github.com/travis-ci/docs-travis-ci-com/blame/f6814e6281e1036b6ca056b49106cabcdc74e77e/user/reference/focal.md#L137
Unfortunately this is incorrect and only OpenJDK 9 and later seem to be supported:
Source: https://travis-ci.com/github/dropwizard/dropwizard/jobs/403800987#L170-L174
There is also an unanswered topic in the Travis CI Community about this:
https://travis-ci.community/t/openjdk8-setup-fails-on-focal/9760/2
Given that Java 8 is still in wide use, it would be great if support for OpenJDK 8 could be added to the Ubuntu 20.04 (Focal Fossa) Build Environment.
The text was updated successfully, but these errors were encountered: