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

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

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

java-sdk is installed in your system.

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

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

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

java-sdk package basic information:

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


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