


Using one package over the other should not create any functional difference.

Nowadays there are many JRE packages available from a variety of projects and companies, but the two most popular on Ubuntu are OpenJDK and Oracle HotSpot. Install the dependencies: sudo apt install -fĪfter installing the dependencies, try to install again (Go to step 2). The Java Runtime Environment (JRE) is required to run Java programs. If you have missing dependencies, and error will be shown. However, I had to make some changes in order to make it work on Ubuntu 19.04. Sudo apt install openjdk-8-jdk openjdk-8-jre If you want to install using PPA, add openjdk-r ppa and install: sudo add-apt-repository ppa:openjdk-r/ppa Install dependencies: sudo apt install -f Install using dpkg: sudo dpkg -i openjdk-8-jre-headless_8u191-b12-2ubuntu0.18.10.1_b \ Liberica JDK is quite easy to install on Ubuntu / Debian based operating systems which support the aptitude package manager. Kemudian, Anda dapat dengan yakin menginstal Java Development Kit terbaru dengan perintah berikut: sudo apt install default-jdk. While PPA is the preferred method to install JDK 8 in order to get timely updates and fixes, but if you still want to install without PPA, you can download and install JDK 8 from Ubuntu's pool of Universe packages. Menginstal Java di Ubuntu Buka terminal (Ctrl+Alt+T) dan perbarui repositori paket untuk memastikan Anda mengunduh versi perangkat lunak terbaru: sudo apt update.
