I'm new to all of this, so I ask for your comprehension.
A couple of days ago I installed Ubuntu 19.10 on my PC and I'm having trouble setting up Java. At the beginning, I just used the sudo apt-get
approach and it all seem fine, but then I realized that the project that I had to work on used JavaFX and this wasn't included in the original installation. After that, I searched through out the web for a comprehensive setup guide, but many sites have different answers and I got overwhelmed by the amount of information that, honestly, did not understand by the most part.
I've uninstalled all and now I have to different zip files:
I'm really stressed out by the whole ordeal, so if anybody could guide me through the installation process, or had a resourceful site that could explain what to do step-by-step I'd be eternally grateful.
Best Answer
openjfx
andopenjdk-14-jdk
are available for install through APT. To install them run the following command in the terminal:Then set
openjdk-14-jdk
as default by runnibg the following command in the terminal:You will see an output like this:
Please, enter the number in front of
java-14-openjdk
underSelection
column and press Enter