Install the dependencies: sudo apt install -fĪfter installing the dependencies, try to install again (Go to step 2). ![]() If you have missing dependencies, and error will be shown. apt-cache search openjdk-8 grep openjdk-8. Before the file can be downloaded, you must accept the license agreement. These instructions use the following file: Download the file. In your terminal, use the following command. This procedure installs the Java Development Kit (JDK) for 32-bit Linux, using an archive file (.tar.gz). The first and most recommended option is to install OpenJDK using the default Ubuntu 22.04 repository. 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 ![]() ![]() 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.
0 Comments
Leave a Reply. |