

The program ‘apt’ can be found in the following packages:īash: apt: command not sudo apt-get install sun-java6-jdk Try ‘apt-get -f install’ with no packages (or specify a apt -get -f install Recommends: gsfonts-x11 but it is not going to be installedĮ: Unmet dependencies. Ia32-sun-java6-bin (= 6-16-0ubuntu1.9.04) but it is not installable Sun-java6-jre: Depends: sun-java6-bin (= 6-16-0ubuntu1.9.04) but it is not going to be installed or The following packages have unmet dependencies: You might want to run `apt-get -f install’ to correct these:
#INSTALL JAVA 16 LICENSE#
Ldconfig deferred processing now taking placeĭuring the installation, you’ll be prompted with the following window, where you have to read the “Operating System Distributor License for Java” and click on OK. Processing triggers for shared-mime-info. Selecting previously deselected package gsfonts-x11. Selecting previously deselected package sun-java6-jdk. Sun-dlj-v1-1 license has already been accepted Selecting previously deselected package sun-java6-bin. Selecting previously deselected package unixodbc. Selecting previously deselected package odbcinst1debian1. Selecting previously deselected package sun-java6-jre. 142715 files and directories currently installed.) Selecting previously deselected package java-common. Get:6 jaunty-updates/multiverse sun-java6-jdk 6-16-0ubuntu1.9.04 Get:5 jaunty-updates/multiverse sun-java6-bin 6-16-0ubuntu1.9.04 Get:4 jaunty/main unixodbc 2.2.11-16build3 Get:3 jaunty/main odbcinst1debian1 2.2.11-16build3 Get:2 jaunty-updates/multiverse sun-java6-jre 6-16-0ubuntu1.9.04 Get:1 jaunty/main java-common 0.30ubuntu4 Gsfonts-x11 java-common odbcinst1debian1 sun-java6-bin sun-java6-jdk sun-java6-jre unixodbcĠ upgraded, 7 newly installed, 0 to remove and 68 not upgraded.Īfter this operation, 161MB of additional disk space will be used. The following NEW packages will be installed: Gsfonts-x11 java-common odbcinst1debian1 sun-java6-bin sun-java6-jre unixodbcĮquivs sun-java6-demo openjdk-6-doc sun-java6-source sun-java6-plugin ia32-sun-java6-plugin sun-java6-fonts The following extra packages will be installed: The following packages were automatically installed and are no longer required: If you need only the run time environment, install sun-java6-jre. Sun-java6-source - Sun Java(TM) Development Kit (JDK) 6 source files Install Java on UbuntuĮxecute sudo apt-get install sun-java6-jdk to install the Java 6 JDK on Ubuntu as shown below. Sun-java6-plugin - The Java(TM) Plug-in, Java SE 6 Sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files) Sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6

Sun-java6-javadb - Java(TM) DB, Sun Microsystems' distribution of Apache Derby

Sun-java6-fonts - Lucida TrueType fonts (from the Sun JRE) Sun-java6-doc - Sun JDK(TM) Documention - integration installer Sun-java6-demo - Sun Java(TM) Development Kit (JDK) 6 demos and examples Sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)

Sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files Sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0 Sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files) Sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0 Sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE) Sun-java5-doc - Sun JDK(TM) Documention - integration installer Sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and examples Sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files) su: java: command not found Search for Java Package that needs to be Installedīefore installing, you may want to do apt-cache search to find out all available packages that starts with sun-java.Īs shown below, you’ll find both Java5 and Java6 JDK and JRE related packages. The program 'java' can be found in the following packages: Question: How do I Install Java on Ubuntu or Debian OS?Īnswer: If Java is not installed, you’ll get the following error message when you do java -version.
