java-gcj-compat-headless software package provides virtual package provided by gcj-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 java-gcj-compat-headless
java-gcj-compat-headless is installed in your system.
Make ensure the java-gcj-compat-headless package were installed using the commands given below,
$ sudo dpkg-query -l | grep java-gcj-compat-headless*
You will get with java-gcj-compat-headless package name, version, architecture and description in a table
| Distro | Debian 8 jessie |
| Section | Virtual packages |
| Package | java-gcj-compat-headless |
| Version | |
| Description | virtual package provided by gcj-jre-headless |
| Sub Section | virtual |