Você pode instalar java-common por:
sudo apt-get install java-common
Além disso
sudo apt-cache show java-common
mostrará mais informações sobre o pacote, como a abaixo (algumas informações foram removidas para maior clareza):
Package: java-common
State: installed
Automatically installed: yes
Multi-Arch: foreign
Version: 0.52
Priority: optional
Section: misc
Maintainer: Ubuntu Developers <[email protected]>
Architecture: all
Uncompressed Size: 299 k
Suggests: default-jre, equivs
Description: Base of all Java packages
This package must be installed in the system if a Java environment is desired. It covers useful information for Java users in Debian
GNU/Linux, including:
* The Java policy document which describes the layout of Java support in Debian and how Java packages should behave.
* The Debian-Java-FAQ which provides information on the status of Java support in Debian, available compilers, virtual machines, Java
programs and libraries as well as on legal issues.
* Information on how to create dummy packages to fulfill java2 requirements.
Homepage: https://wiki.debian.org/Java/
A maneira sugerida de instalar jenkins é:
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins
sugerimos que você instale openjdk-7-jre e openjdk-7-jdk antes da etapa acima. Para fazer isso, execute:
sudo apt-get install openjdk-7-jre openjdk-7-jdk