java2-runtime-headless software package provides virtual package provided by gcj-4.8-jre-headless, openjdk-7-jre-headless, gcj-jre-headless, gcj-4.9-jre-headless, default-jre-headless, you can install in your Debian 8 (Jessie) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install java2-runtime-headless
java2-runtime-headless is installed in your system.
Make ensure the java2-runtime-headless package were installed using the commands given below,
$ sudo dpkg-query -l | grep java2-runtime-headless*
You will get with java2-runtime-headless package name, version, architecture and description in a table
| Distro | Debian 8 jessie |
| Section | Virtual packages |
| Package | java2-runtime-headless |
| Version | |
| Description | virtual package provided by gcj-4.8-jre-headless, openjdk-7-jre-headless, gcj-jre-headless, gcj-4.9-jre-headless, default-jre-headless |
| Sub Section | virtual |