Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Открыть каталог с загрузками, распаковать архив, создать каталог и скопировать туда бинарники:

Блок кода
languagebash
themeMidnight
cd ~/Downloads
unzip icedtea-web-1.8.8.linux.bin.zip
cd /opt
sudo mkdir icedtea
sudo cp -r ~/Downloads/icedtea-web-image/ /opt/icedtea/

Прописать IcedTea в $PATH:

Блок кода
languagebash
themeMidnight
sudo nano /etc/environment

В конец строчки добавить ":/opt/icedtea/icedtea-web-image/bin", чтобы получилось что-то похожее:

Блок кода
languagebash
themeMidnight
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/icedtea/icedtea-web-image/bin"

...

Проверить, что Java запускается:

Блок кода
languagebash
themeMidnight
$ java -version
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~20.04-b07)
OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)

Проверить, что IcedTea тоже работает:

Блок кода
languagebash
themeMidnight
$ javaws --version
selected jre: /usr/lib/jvm/java-8-openjdk-amd64/jre
icedtea-web 1.8.8

...

Для GNOME (включая такие оболочки как Cinnamon), помимо всего перечисленного, нужно отключить вспомогательные технологии GNOME:

Блок кода
languagebash
themeMidnight
sudo nano /etc/java-8-openjdk/accessibility.properties

Закомментировать строку assistive_technologies=org.GNOME.Accessibility.AtkWrapper, чтобы получилось:

Блок кода
languagebash
themeMidnight
title/etc/java-8-openjdk/accessibility.properties
#
# The following line specifies the assistive technology classes 
# that should be loaded into the Java VM when the AWT is initailized.
# Specify multiple classes by separating them with commas.
# Note: the line below cannot end the file (there must be at
# a minimum a blank line following it).
#
#assistive_technologies=org.GNOME.Accessibility.AtkWrapper

...