-1
First of all, I know it seems a rather silly question, but I am a Windows "user", I have the dual boot on my machine.I really admire Unix, and I intend to migrate to it for good.
I was using Ubuntu 18 but I formatted the machine and installed Ubuntu 19. In this I installed our beloved java, but I installed in a hurry and unintentionally installed java 11. I tried to remove it and install java 8 but was unsuccessful.
When I gave command java -version
: obtained.
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu219.04)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu219.04, mixed mode, sharing)
Since I want to develop applications with React-Native and need to use java 8 instead of more current.
How do I install it? Has anyone been through this? When I try to install java8 , as an answer I am informed that it is no longer in repositio.
I tried to this tutorial but nothing.
First, remove openjdk in version 11.
sudo rm -rf /usr/lib/jvm/openjdk*
Manually install. Download version 8 on the Oracle website, extract, put it in /usr/lib/jvm and be happy.– FearX