Sei-ku: Kuisa Yekupedzisira Shanduro yeOracle Java pane Yako Linux Distro

Oracle Java logo

Zvichida zvakaitika kwauri kuti iwe unofanirwa kunge waisa yazvino vhezheni yeJava Mune yako GNU / Linux distro uye kubva kumatura ekugovera kwako, kuiisa pamwe nemaneja emapakeji, chinhu chega chaunowana ndeye vhezheni yapfuura ndiyo iyo vanochengeta kana nharaunda yedistro yako yavakaisa kuzororo. Zvakanaka, kana iwe uchida kuve neyazvino vhezheni yakaburitswa naOracle yeJava, tinokuratidza yakapusa dzidziso kuti umise iyo nhanho nhanho pane yako system, pasina kunetseka.

Chinhu chekutanga chaunofanirwa kuita dhawunorodha yazvino vhezheni ye Java package kubva iyi link yekuti ndinokusiya. Paunenge uine OpenJDK package inozove tar.gz taarball, uchafanirwa kuburitsa pasuru yacho kuti uenderere mberi nematanho anotevera. Nenzira, kana iwe uchida, unogona kuongorora kurodha pasi uchishandisa iyo sha256 kuti uone kuti haina kugadzikana uye haina huori kana kuti yakagadziridzwa ...

Zvakanaka, kunyangwe tarballs dzisiri nyore kuburitsa uchishandisa graphical maturusi nekuti unogona kugadzirisa mamwe mvumo emafaira arimo, mune izvi hazvina basa, saka unogona kuzviita kubva kunyaradzo uchishandisa mirairo kana neyako faira maneja kubva imwe nzira yakapusa kuburitsa zvirimo. Ok, kana tangoita, isu tatova nedhairekitori nemafaira akagadzirira. Dhairekitori rakagadzirwa richadaidzwa kunzi jdk-vhezheni, uyezve isu tinoenderera nekupinda ~ / .profile uye tinogadzirisa kuti tiwedzere iyi mitsara kumagumo:

export JAVA_HOME="~/jdk-10.0.1"

export JDK_HOME="~/jdk-10.0.1"

export PATH="$JAVA_HOME/bin:$PATH"

Saka isu tine nharaunda nharaunda dzakarongeka, iwe unoziva kuti if yako vhezheni zvakasiyana ne10.0.1 iwe unofanirwa kuchinjisa zvinoenderana nenyaya yako ... uye iyo jdk-vhezheni dhairekitori inofanirwa kunge iri pane dhairekitori rawakaburitsa riri ...

Kana pane kuti uzviitire mushandisi mumwe chete iwe unoda kuzviitira iyo sisitimu yese, ndiko kuti, kune vese vashandisi, ipapo unofanira kuita zvakafanana asi mu /etc/profile.d/ apo patichagadzira faira inonzi openjdk.sh ine zvakafanana zvinyorwa uchishandisa Sudo ...

Kana zvese zvikafamba mushe, unokwanisa here cheki vhezheni na:

java -version


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

Iva wekutanga kutaura

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

bool (chokwadi)