„Ubuntu“: atnaujinkite „Java“ - kaip tai veikia
Šiame praktiniame patarime paaiškiname, kaip atnaujinti „Java“ Ubuntu. Beje, jūs negausite pranešimų apie atnaujinimą naudodami „Linux“. Todėl pirmiausia turite patikrinti „Java“ versiją.
Ar man reikia atnaujinimo? Patikrinkite „Java“ versijas
Atidarykite terminalo langą ir įveskite „java -version“.
- Palyginkite informaciją su dabartine „Java“ versija.
- Jei jūsų versija pasenusi, galite pradėti atnaujinti.
Atnaujinkite „Java“ skiltyje „Ubuntu“
Norėdami atlikti atnaujinimą, atidarykite pirmąjį terminalo langą.
- Įveskite šią komandą be kabučių „sudo add-apt-repository ppa: webupd8team / java“.
- Tada paleiskite „sudo apt-get update“ ir gaukite diegimo programą per „sudo apt-get install oracle-java8-installer“.
- Terminale patvirtinkite mygtuku „Enter“, kai tik ekrane pasirodys „“.
- Tada patvirtinkite licencijos sutartį, kad pradėtumėte diegimą. Šis procesas užtrunka.
Taip pat galite dirbti su „Eclipse“ kūrimo aplinka „Ubuntu“. Mes paaiškiname, kaip įdiegti „Eclipse“ Ubuntu.