
# dpkg -i oracle-java8-jdk_8u51_bīy default the DebianAlternatives will automatically install the best version of Java as the default version. Use java-package to create a Debian package, for example: $ make-jpkg jdk-8u51-linux-圆4.tar.gz Choose tar.gz archives or self-extracting archives, do not choose the RPM! Update the list of available packages and install the java-package package: # apt-get update & apt-get install java-package & exitĭownload the desired Java JDK/JRE binary distribution ( Oracle).


Java-package provides the ability to build a Debian package from a Java binary distribution by running make-jpkg (with archive files downloaded from providers listed below). Debian recommends the use of OpenJDK packages ( openjdk-7-jdk / openjdk-7-jre) instead of non-free packages created by this utility.
