MHegde
MHegde

Reputation: 397

How to install specific openjdk version in Ubuntu 16.04?

I have a new Ubuntu server and when I run "sudo apt-get install openjdk-8-jdk", this installed OpenJDK version "1.8.0_312", all good here.

I have one more Ubuntu 16.04 server which already has OpenJDK version "1.8.0_292". How can I change this 1.8.0_292 to "1.8.0_312"?

Upvotes: 0

Views: 3012

Answers (1)

Hady Willi
Hady Willi

Reputation: 74

I'd suggest to use sdkman. I'm not 100% sure about compatibility with 16.04 specifically, but it shouldn't be a problem.

Upvotes: 0

Related Questions