Maitiro ekuisa Java 8 paDebian Jessie

Java logo

Kunyangwe paine chokwadi chekuti Java iri kuve isinganyanyo shandiswa mitauro yemutauro, ichokwadi kuti kuchine zvikumbiro zvakakosha izvo zvinoda uyu mutauro wehurongwa uye nemuchina wacho chaiwo. Zvirongwa zvakaita seLibreOffice kana mabhurawuza ewebhu achiri kuda iyi yekuwedzera.

Tevere tinokuudza maitiro ekuisa java 8 pane yedu Debian Jessie, yakapusa uye yakapusa maitiro ayo isu atinongoda chete chinongedzo uye neInternet kubatana.

Pane nzira mbiri dzekugadzira Java 8 pane yedu Debian Jessie. Yokutanga ndeye shandisa Java 8 mushe uye isa iyo mukugovera kwedu. Nzira yechipiri ndeye gadza mune yedu OpenJDK kugovera, yemahara imwe nzira kuJava 8 inoshanda zvakafanana neJava asi yakasununguka zvachose.

Kuisa Java 8 nekukurumidza tinofanirwa kuvhura terminal muJessie uye tinyore zvinotevera:

su -
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
exit

Izvi zvichaisa Java 8 paDebian uchishandisa iyo Webupd8 repository, inozivikanwa yakakosha repository ine zvirongwa zvakakosha senge Java 8. Zvisinei, izvi zvinongoisa Java 8 paDebian Jessie, ikozvino tinofanirwa kutaurira kugovera kuti tishandise Java 8 pazvinenge zvichidikanwa. Kuti uite izvi, kubva kune imwechete terminal tinonyora:

sudo apt-get install oracle-java8-set-default

Zviripo imwezve nzira kuitira kuti zvirongwa zvinoshandisa Java zvikwanise kushanda pasina kuva nezvirongwa zvemba. Kune izvi isu tichaisa OpnJDK, chirongwa chinoshanda zvakafanana neJava asi iri yemahara vhezheni. Kuisa OpenJDK isu tinofanirwa kuvhura iyo terminal uye tinyore zvinotevera:

echo "deb http://http.debian.net/debian jessie-backports main" | \
sudo tee --append /etc/apt/sources.list.d/jessie-backports.list > /dev/null

sudo apt-get update

sudo apt-get install -t jessie-backports openjdk-8-jdk

Uye neiyo OpenJDK ichaiswa. Zvino, senge nenzira yapfuura, isu tinofanirwa kutaurira Debian Jessie izvo shandisa OpenJDK sechirongwa chekumisikidza chero munhu anokumbira kushandiswa kweJava. Saka isu tinofanirwa kunyora zvinotevera:

sudo update-java-alternatives -s java-1.8.0-openjdk-amd64

Chero dzedzimwe nzira dzichaita kuti Java 8 ive pakombuta yedu, kana zvirinani ichaita kuti mashandiro edu ashande nemazvo pasina kushandisa zviwanikwa zvihombe.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Makomendi gumi, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   Hector akadaro

    Gracias !!

  2.   Ngirozi Romero akadaro

    Ndatenda zvikuru zvakandibatsira zvakanyanya sezvo ndaida iyo openjdk

  3.   delBetis akadaro

    Ndinokutendai!