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. ![]() 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 An alternative method is to add the ppa:openjdk-r/ppa repository, which is always up to date and may see updates deployed quicker than Ubuntu’s default archives. If you want to install using PPA, add openjdk-r ppa and install: sudo add-apt-repository ppa:openjdk-r/ppa Install OpenJDK 8 APT Method with PPA Ubuntu 22.04 repository often has the latest up-to-date and secure versions. 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. |