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

Java 8 or 10? #37

Open
abazlinton opened this issue Nov 9, 2018 · 5 comments
Open

Java 8 or 10? #37

abazlinton opened this issue Nov 9, 2018 · 5 comments
Assignees

Comments

@abazlinton
Copy link

The intro notes assume students likely have Java 10. And apparently most of them in E24 had it (not clear how / why). But the script forces 8. My laptop has 8. So need to investigate what's best.

@colin-riddell
Copy link

colin-riddell commented Nov 12, 2018

I see no reason not to go for 10 over 8. All the Spring stuff works well with 10.

What else do we need to check?

@CraigMorton
Copy link
Member

CraigMorton commented Nov 12, 2018

If we're moving on from 8 it should probably be to version 11 as it is the next LTS version and therefore the next real version that big project would feasibly switch to after version 8.

screenshot 2018-11-12 at 10 36 16

source

@CraigMorton
Copy link
Member

11 adds support for var for inferable type declarations and intelliJ will tell the students about this even if we don't.

@abazlinton
Copy link
Author

abazlinton commented Nov 12, 2018

homebrew has been on 11 since 25 Sep -

Homebrew/homebrew-cask@f1fecfe#diff-6149815b24e8a7b72a9bd0e438920500

So we can just remove

tap "caskroom/versions"
cask "java8"

And go back to

cask "java"

@abazlinton
Copy link
Author

Though we might want to force 11? As people have a habit of always going for latest (homebrew could be updated to 12). And we should maybe stick with LTS.

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

No branches or pull requests

3 participants