banner



How To Install Java Tm Plug In

Question: How practise I Install Coffee on Ubuntu or Debian Os?

Answer: If Java is not installed, you'll get the following fault bulletin when you do java -version.

# coffee -version The programme 'java' can be constitute in the post-obit packages:  * gij-4.3  * java-gcj-compat-headless  * openjdk-six-jre-headless  * cacao  * gij-4.ii  * jamvm  * kaffe Try: apt-get install  -su: java: command not found

Search for Java Package that needs to be Installed

Before installing, you may want to exercise apt-enshroud search to notice out all bachelor packages that starts with lord's day-java.

As shown below, you'll find both Java5 and Java6 JDK and JRE related packages.

# sudo apt-become update  #          apt-cache search ^sun-java          sunday-javadb-customer - Java DB client sunday-javadb-common - Java DB mutual files lord's day-javadb-core - Java DB cadre lord's day-javadb-demo - Java DB demo sun-javadb-doc - Java DB documentation dominicus-javadb-javadoc - Java DB javadoc dominicus-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files) dominicus-java5-demo - Dominicus Java(TM) Development Kit (JDK) 5.0 demos and examples sun-java5-doc - Sun JDK(TM) Documention -- integration installer sunday-java5-fonts - Lucida TrueType fonts (from the Sunday JRE) lord's day-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0 sun-java5-jre - Dominicus Java(TM) Runtime Environs (JRE) 5.0 (compages contained files) sun-java5-plugin - The Java(TM) Plug-in, Coffee SE 5.0 sun-java5-source - Sun Java(TM) Evolution Kit (JDK) 5.0 source files sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files) sun-java6-demo - Sun Coffee(TM) Evolution Kit (JDK) six demos and examples lord's day-java6-doc - Sun JDK(TM) Documention -- integration installer sun-java6-fonts - Lucida TrueType fonts (from the Sunday JRE) sun-java6-javadb - Java(TM) DB, Sunday Microsystems' distribution of Apache Derby          sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6 sun-java6-jre - Dominicus Coffee(TM) Runtime Environment (JRE) half-dozen (architecture independent files)          sun-java6-plugin - The Coffee(TM) Plug-in, Coffee SE 6 sun-java6-source - Dominicus Java(TM) Development Kit (JDK) vi source files

Install Coffee on Ubuntu

Execute sudo apt-go install sun-java6-jdk to install the Java 6 JDK on Ubuntu as shown below. If you need simply the run time surroundings, install sunday-java6-jre.

#          sudo apt-get install dominicus-java6-jdk          Reading package lists... Done Building dependency tree Reading country information... Done The following packages were automatically installed and are no longer required:   linux-headers-2.6.28-11 linux-headers-two.half-dozen.28-11-generic Utilise 'apt-get autoremove' to remove them. The following extra packages will be installed:   gsfonts-x11 coffee-common odbcinst1debian1 sunday-java6-bin sun-java6-jre unixodbc Suggested packages:   equivs sunday-java6-demo openjdk-half-dozen-doc sun-java6-source dominicus-java6-plugin ia32-lord's day-java6-plugin dominicus-java6-fonts   libmyodbc odbc-postgresql libct1 The following NEW packages will be installed:   gsfonts-x11 java-common odbcinst1debian1 sun-java6-bin sun-java6-jdk sun-java6-jre unixodbc 0 upgraded, 7 newly installed, 0 to remove and 68 not upgraded. Need to get 54.5MB of archives. Subsequently this operation, 161MB of additional disk space volition be used. Practice yous want to continue [Y/n]? Y Get:1 http://us.archive.ubuntu.com jaunty/primary java-common 0.30ubuntu4 [80.3kB] Get:two http://us.archive.ubuntu.com jaunty-updates/multiverse lord's day-java6-jre vi-16-0ubuntu1.nine.04 [6421kB] Get:iii http://us.annal.ubuntu.com jaunty/main odbcinst1debian1 2.2.11-16build3 [66.3kB] Get:4 http://united states of america.archive.ubuntu.com jaunty/chief unixodbc 2.two.xi-16build3 [295kB] Get:five http://us.archive.ubuntu.com jaunty-updates/multiverse sunday-java6-bin 6-16-0ubuntu1.9.04 [29.1MB] Get:6 http://u.s..archive.ubuntu.com jaunty-updates/multiverse sun-java6-jdk 6-16-0ubuntu1.9.04 [18.5MB] Become:7 http://us.archive.ubuntu.com jaunty/main gsfonts-x11 0.21 [x.5kB] Fetched 54.5MB in 4min 53s (186kB/south) Preconfiguring packages ... Selecting previously deselected parcel coffee-common. (Reading database ... 142715 files and directories currently installed.) Unpacking java-common (from .../coffee-common_0.30ubuntu4_all.deb) ... Selecting previously deselected package sun-java6-jre. Unpacking sun-java6-jre (from .../dominicus-java6-jre_6-xvi-0ubuntu1.9.04_all.deb) ... Selecting previously deselected package odbcinst1debian1. Unpacking odbcinst1debian1 (from .../odbcinst1debian1_2.2.xi-16build3_i386.deb) ... Selecting previously deselected package unixodbc. Unpacking unixodbc (from .../unixodbc_2.two.xi-16build3_i386.deb) ... Selecting previously deselected packet sun-java6-bin. Unpacking lord's day-java6-bin (from .../sun-java6-bin_6-sixteen-0ubuntu1.9.04_i386.deb) ... dominicus-dlj-v1-ane license has already been accustomed Selecting previously deselected package sunday-java6-jdk. Unpacking sun-java6-jdk (from .../sun-java6-jdk_6-16-0ubuntu1.9.04_i386.deb) ... sun-dlj-v1-i license has already been accustomed Selecting previously deselected package gsfonts-x11. Unpacking gsfonts-x11 (from .../gsfonts-x11_0.21_all.deb) ... Processing triggers for md-base ... Processing 3 added medico-base file(s)... Registering documents with scrollkeeper... Processing triggers for man-db ... Processing triggers for shared-mime-info ... Setting up coffee-common (0.30ubuntu4) ... Setting upwardly odbcinst1debian1 (2.2.11-16build3) ... Setting up unixodbc (2.2.11-16build3) ... Setting upward gsfonts-x11 (0.21) ... Setting upward sun-java6-bin (6-16-0ubuntu1.ix.04) ... Setting up dominicus-java6-jre (6-sixteen-0ubuntu1.9.04) ... Setting up sun-java6-jdk (6-16-0ubuntu1.ix.04) ... Processing triggers for libc6 ... ldconfig deferred processing now taking place

During the installation, you'll be prompted with the following window, where you have to read the "Operating System Benefactor License for Java" and click on OK.

Fig: Sun Java License Terms - Click OK

Fig: Sunday Java License Terms - Click OK

Afterwards reading the license terms, you'll be prompted with the following window, where you have to agree to the "license terms" by clicking on Yes.

Fig: Accept Java JDK/JRE License Terms - Click Yes

Fig: Accept Java JDK/JRE License Terms - Click Yes

Verify the Coffee Installation

Finally, execute java -version and brand certain Coffee is installed properly every bit shown below.

#          java -version          java version "i.6.0_16" Coffee(TM) SE Runtime Environment (build i.6.0_16-b01) Java HotSpot(TM) Server VM (build 14.ii-b01, mixed mode)

Source: https://www.thegeekstuff.com/2009/09/how-to-install-java-on-ubunt-debiau/

Posted by: willardwhavence.blogspot.com

0 Response to "How To Install Java Tm Plug In"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel