3 ms·
Last time I checked, at least in Ubuntu 20.04, there was already a package for OpenJDK 17, so I think that's the straightforward and recommended way to get Java
by severino 5y ago
Last time I checked, at least in Ubuntu 20.04, there was already a package for OpenJDK 17, so I think that's the straightforward and recommended way to get Java 17 in Ubuntu.
- nlitened 5y agoWow, you're actually right — I wasn't able to find it before (maybe Java 17 was too new back then). If anybody's interested: sudo add-apt-repository ppa:linuxuprising/java sudo apt-get update sudo apt-get install oracle-java17-installer oracle-java17-set-default
- severino 5y agoYes, I checked some weeks ago and v.16 was the last one, so I guess it was too soon. However, you don't need a special repo for getting OpenJDK 17. Yours is for getting Oracle JDK 17, right?