IJava 18: Ukufaka kunye nokuqwalasela i-Oracle JDK 18 kwiDebian 11

IJava 18: Ukufaka kunye nokuqwalasela i-Oracle JDK 18 kwiDebian 11

IJava 18: Ukufaka kunye nokuqwalasela i-Oracle JDK 18 kwiDebian 11

Kwiintsuku ezimbalwa ezidlulileyo (22/03), umbutho U-Oracle ubhengeze ukufumaneka kwe "Java 18". Inguqulelo yamva nje yolona lwimi lusetyenziswayo lwenkqubo kunye ne iqonga elinye lophuhliso lehlabathi. Iphakheji entsha okanye inkqubo, eyaziwa ngokuba I-Oracle JDK 18, inikezela ngamawaka ophuculo malunga nokusebenza, ukuzinza kunye nokhuseleko. Kwaye ukongeza, kubandakanywa izindululo zokuphucula iqonga elithoba, ngaloo ndlela ukonyusa imveliso yophuhlisi.

Nangona kunjalo, kolu papasho asizukungena kwizinto ezintsha okanye uphuculo lwalo, njengoko sikwenzile oko kwiintsuku ezimbalwa emva kokusungulwa kwalo (28/03). Apha, siza kuphonononga imiba ebonakalayo kunye nezobugcisa, oko kukuthi, malunga neyakhe ukufakwa kunye nokuseta malunga langoku Ukuhanjiswa kwe-GNU / Linux de Isitali seDebian.

IJAVA SE 14

Kwaye njengesiqhelo, ngaphambi kokungena ngokupheleleyo kwisihloko sanamhlanje kwi ukufakwa kunye nokuseta yoguqulelo olukhoyo lwamva nje lwe IJava JDK, oko kukuthi, inguqulelo Java 18, kwaziwa njenge I-Oracle JDK 18, siya kubashiyela abo banomdla amakhonkco alandelayo kwezinye iimpapasho ezinxulumene nangaphambili. Ngendlela yokuba banokuziphonononga ngokulula, ukuba kuyimfuneko, emva kokugqiba le mpapasho:

"Olu guqulelo olutsha lweJava SE 18 lufika ngaphandle kokususwa kweempawu ezithile ezithotyiweyo, zigcina ukuhambelana neenguqulelo zangaphambili zeqonga leJava, kwaye uninzi lweeprojekthi ezibhalwe ngaphambili zeJava ziya kuqhubeka zisebenza zingatshintshi xa ziqhutywa ngenguqulelo entsha. Kwaye ukukhowudwa kwayo okungagqibekanga yi-UTF-8". Inguqulelo entsha yeJava SE 18 sele ikhutshiwe kwaye ezi ziindaba zayo

Inqaku elidibeneyo:
IMicrosoft Java yokwakha ngoku iyafumaneka kuye wonke umntu

IJAVA SE 14
Inqaku elidibeneyo:
I-Oracle ibhengeze ukukhutshwa kweJava SE 15, yazi ukuba yintoni entsha
IJava 10 Oracle
Inqaku elidibeneyo:
Faka i-Oracle Java 10: Via iTheminali evela kwi-GNU / Linux

Java 18: Ukusebenza okuninzi, uzinzo kunye nokuphuculwa kokhuseleko

Java 18: Ukusebenza okuninzi, uzinzo kunye nokuphuculwa kokhuseleko

Uyisebenzisa njani iJava 18?

Ukukhuphela

yokukhuphela I-Java 18 (i-Oracle JDK 18) oku kulandelayo kufuneka kufikelelwe unxibelelwano kwaye ukhuphele i .deb ifayile uyafuna uku Ulwabiwo lweGNU / Linux ngenxa ye Isitali seDebian.

Ukufakwa

Nje ukuba ikhutshelwe, siqhubela phambili ekufakeni kwayo ngendlela ekhethwayo, oko kukuthi, kunye ne Umyalelo we-apt okanye we-dpkg. Kwimeko yethu yokusetyenziswa, sisebenzisa lo myalelo ulandelayo womyalelo:

«sudo apt install ./Descargas/jdk-18_linux-x64_bin.deb»

Cwangcisa

Nje ukuba ipakethe ifakiwe, kusafuneka siqhubele phambili kuyo qwalasela i-java 18, ukuze iqwalaselwe njenge uguqulelo olungagqibekanga, ukusukela ngoku wethu Inkqubo yokusebenza isetyenzisiwe (Imimangaliso GNU / Linux), iza nayo OpenJDK 11.

Kwaye oku, sifuna ukuthanda umsebenzisi womlawuli (ingcambu), sebenzisa le miyalelo ilandelayo:

sudo -s

echo "JAVA_HOME=/usr/lib/jvm/jdk-18" >> /etc/profile

echo "PATH=$PATH:$HOME/bin:$JAVA_HOME/bin" >> /etc/profile

echo "export JAVA_HOME" >> /etc/profile

echo "export PATH" >> /etc/profile

update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-18/bin/java 1

update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-18/bin/javac 1

update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk-10.0.1/bin/jar 1

update-alternatives --set java /usr/lib/jvm/jdk-10.0.1/bin/java

update-alternatives --set javac /usr/lib/jvm/jdk-10.0.1/bin/javac

update-alternatives --set jar /usr/lib/jvm/jdk-10.0.1/bin/jar

. /etc/profile

UQinisekiso lwe-Oracle JDK

Ukuqinisekiswa

Sakuba sigqibile ngale nkqubo, singenza oku kulandelayo imiyalelo yokuyalela Ukuqinisekisa ukuba yonke into ihambe kakuhle:

java --version

javac --version

jar --version

Okwangoku, akukho nto iseleyo yokwenza ngaphandle kokuzama usetyenziso lweJava okanye uphuhliso ukuze ufumane izibonelelo zenguqulelo entsha efakiweyo.

"IMicrosoft OpenJDK yokubini yeJava 11 isekwe kwikhowudi yemvelaphi ye-OpenJDK, ilandela imibhalo ekhutshiweyo efanayo esetyenziswe yiprojekthi ye-Eclipse Adoptium kwaye yavavanywa yi-Eclipse Adoptium QA suite (kuquka novavanyo lweprojekthi ye-OpenJDK)". UMicrosoft ubhengeze ukufumaneka kwenguqulelo ye-OpenJDK

I-Roundup: Isithuba sesibhengezo sika-2021

Isishwankathelo

Ngamafutshane, ukuba Java 18 kunye nayo nayiphi na inguqulelo yangaphambili okanye elandelayo enxulumene nephakheji yoqobo yolona lwimi lubalaseleyo lwenkqubo kunye nenqanaba lokuqala lophuhliso kwihlabathi kwi-Debian Distros yethu ezinzileyo ayinzima kwaphela. Kwaye kwimeko engcono, ihlala icetyiswa ukuba isetyenziswe inguqulelo yasimahla kunye nevulekileyo ebizwa ngokuba yi-OpenJDK, ethi ngokunjalo iphuhliswe ngokudibeneyo ne-Oracle.

Siyathemba ukuba olu papasho luluncedo kakhulu kumntu wonke «Comunidad de Software Libre, Código Abierto y GNU/Linux». Kwaye ungalibali ukuphawula ngayo apha ngezantsi, kwaye wabelane ngayo nabanye kwiiwebhusayithi zakho ozithandayo, amajelo, amaqela okanye uluntu lwenethiwekhi yoluntu okanye iinkqubo zemiyalezo. Ekugqibeleni, tyelela iphepha lethu lasekhaya ku «UkusukaLinux» ukuphonononga ezinye iindaba, kwaye ujoyine ijelo lethu elisemthethweni Umnxeba ovela kwiDesdeLinux, Bucala ngasekunene iqela ngolwazi oluthe kratya ngalo mbandela.


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Izimvo ezi-2, shiya ezakho

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa.

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

  1.   Choripan sitsho

    Nakweyiphi na i-distro, iJava yokugqibela oyifakayo, nokuba ithini na, iya kuba yinto engagqibekanga ngokwenkqubo, nokuba une-7 eyahlukeneyo ye-javas efakiweyo, leyo yokugqibela uyifakayo, nokuba isuka kwi-Oracle okanye hayi, ihlala iyinto engagqibekanga, uyayenza. akukho mfuneko yokwenza nantoni na ukuyikhetha.

    1.    Ukufaka i-Linux Post sitsho

      Ngokuzithoba, Choripan. Enkosi ngezimvo zakho. Ngokuqinisekileyo, oku kufuneka kube njalo xa inguqu ye-OpenJDK okanye i-Java JDK ifakwe kwii-repositories, kodwa kulo mzekelo, usebenzisa ifayile ye-.deb kwiwebhusayithi yeJava, kwaye uyifake kwi-MX Linux, kwakungekho njalo. Ngoko ke, kwafuneka ndiyiqwalasele ngesandla, oko kukuthi, yayiyinguqulelo engagqibekanga.