How to Install java2-sdk software package in Debian 8 (Jessie)

How to Install java2-sdk software package in Debian 8 (Jessie)

java2-sdk software package provides virtual package provided by gcj-4.8-jdk, gcj-4.9-jdk, default-jdk, openjdk-7-jdk, gcj-jdk, 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-sdk

java2-sdk is installed in your system.

Make ensure the java2-sdk package were installed using the commands given below,

$ sudo dpkg-query -l | grep java2-sdk*

You will get with java2-sdk package name, version, architecture and description in a table

java2-sdk package basic information:

Distro Debian 8 jessie
Section Virtual packages
Package java2-sdk
Version
Description virtual package provided by gcj-4.8-jdk, gcj-4.9-jdk, default-jdk, openjdk-7-jdk, gcj-jdk
Sub Section virtual


See Also, How to uninstall or remove java2-sdk software package from Debian 8 (Jessie)?