dpkg -L openjdk-8-jre-headlessĭpkg-query: package 'openjdk-8-jre-headless' is not installed If openjdk-8-jre-headless is not installed on your compter then the command 'dpkg -L openjdk-8-jre-headless' will give followin error. This will update the list of newest versions of packages and its dependencies on your system.Īfter downloading the latest package list with the help of above you can run the installation process.
How to install openjdk-8-jre-headless on Ubuntu 17.04?įirst of all update your system with the command: sudo apt-get updateĪbove command will download the package lists for Ubuntu 17.04 on your system. The packages are built using the IcedTea build support and patches Minimal Java runtime - needed for executing non GUI Java programs, OpenJDK Java runtime, using Hotspot JIT (headless) Step 1: Update system: sudo apt-get updateĪter updaing the OS run following command to install the packae: sudo apt-get install openjdk-8-jre-headless Quick installation of openjdk-8-jre-headless:
Linux Installing openjdk-8-jre-headless on Ubuntu 17.04 LTS Example of installing openjdk-8-jre-headless on Ubuntu 17.04 LTS using the command sudo apt-get install openjdk-8-jre-headless.