Now it is possible to install openjdk-11 this way:
sudo apt-get install openjdk-11-jdk
(Previously it installed openjdk-10, but not anymore)
Answer from user5479362 on Stack OverflowNow it is possible to install openjdk-11 this way:
sudo apt-get install openjdk-11-jdk
(Previously it installed openjdk-10, but not anymore)
To install Openjdk 11 in Ubuntu, the following commands worked well.
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt install openjdk-11-jdk
Installing Java OpenJDK 11 on Fedora (42)
How to install Java 11?
How to install Oracle JDK 11? Im just switched to fedora from windows. And im struggling to install Oracle JDK. I tried installing 1. LINUX ARM 64 RPM PACKAGE (This shows me architecture related issue) 2. LINUX x64 RPM PACKAGE ( Image attached )
Forge Server using Ubuntu Help
Videos
Hello linux4noobs
I downloaded java 11.0.2 tar.gz (I know it is "old" but it's just for my learning purposes) from jdk.java.net/11 and installed it using the "tar" command. The problem is, how do I actually use this java installation?
In windows, I would just add the java /bin directory to the PATH, but I'm unsure how to go about this in Fedora.
I tried to use "update-alternatives --config java" to switch but the 11.0.2 version did not show up as an option. What steps do I need to take to make this the default version in my OS? If it matters, I'm getting into Java programming and that's the reason for installing it.