
#Java se development kit 8 update 101 update
You may also use the update-alternatives tool from java-common package which lets you update all alternatives belonging to one runtime/development kit at a time. The appropriate java binary will automatically be in PATH by virtue of the /usr/bin/java alternative symlink.

If you'd like to override the default to perhaps use a specific version then use -config and manually select the desired version.Ĭhoose the appropriate number for the desired alternative. In order to reset the alternative symlinks to their default value use the -auto option. Local manual symlinks appear to be an explicit configuration. The update-alternatives tools try hard to respect explicit configuration from the local admin. If the symlinks have been manually set they will be preserved by the tools.
#Java se development kit 8 update 101 install
# 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).

Should your interest be more on the development with Java under Debian, then follow the Java link. 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.
