Repository navigation
Updated travis to openjdk11 - #1768
Conversation
|
Could this PR be labeled with hacktoberfest please? |
|
Can you explain with more detail why this change is necessary? |
|
Travis does not support jdk8 anymore. A workaround was used to mitigate this, by forcing travis to use the old Trusty distribution which still allowed jdk8. The main problem I see with this is that it prohibits the common solutions of the exercises from using later versions of java, specifically the current LTS one, jdk11. Oracle does no longer support jdk8 and I as a mentor have seen many jdk11 solutions used by mentees. I think it's time to move on. I have ran the full journey on travis when I pushed the branch on my fork. It looks good and can be found here: https://travis-ci.org/uzilan/exercism-java/jobs/594125154 Btw why didn't it run fully when I created the PR? |
EDIT: I looked at the script and your change did not qualify to trigger Thank you for your explanation. Right now we have jdk8 as minimum requirement in the installation guides, etc. https://github.com/exercism/java/tree/master/docs. |
|
As long as all the tests still work then I think upgrading the minimum Java version sounds sensible 🙂 |
Yes, I think so too 😄 |
|
Will do :) |
|
@uzilan Thank you! |
|
I've started verifying openjdk11 installations on linux, in order to update Installing Java and realized that on Fedora, running |
|
No newer Fedora package? 😞 |
|
I tried Fedora 30, and no, there is no newer gradle package. I tried sdkman and it's working great. Easy to install both openjdk11 and the latest gradle using it, so I think I'll use that in the instructions. I'm also having issues with mint on docker: So I think maybe I'll update the instructions I've been using successfully on Ubuntu and recommend using sdkman as an alternative. |
lemoncurry
left a comment
There was a problem hiding this comment.
Thank you @uzilan , LGTM!
Travis seems not to support jdk8 anymore. Instead of using dist: trusty as a workaround, I suggest we use openjdk11.
Reviewer Resources:
Track Policies