- 9 Manual Installation and Registration of Java Plugin for Linux
- Plugin Installation
- Notes
- Manual Installation and Registration of Java Plugin for Linux
- JavaPlugin
- Содержание
- Предыстория [ править ]
- Правильный способ [ править ]
- Получение Java с сайта Oracle [ править ]
- Установка RPM [ править ]
- Регистрация в браузерах [ править ]
- Для всех пользователей [ править ]
- Для одного пользователя [ править ]
- Проверка работы [ править ]
- Проверка зарегистрированного плагина [ править ]
- How to Enable Java plugin support on Firefox on Linux
- Method 1 : Enable Java plugin Support on Firefox through Oracle Java
- 1) Install Oracle Java
- 2) Locate Firefox
- 3) Enable Java applet on Firefox
- 4) Create symbolic link to enable Java in Firefox
- Method 2 : Enable Java plugin Support on Firefox through Oracle Java
- 1) Install OpenJDK
- Как установить плагин Java для Firefox?
- 6 ответов
- Установка подключаемого модуля IcedTea Java:
- Установите подключаемый модуль Firefox — Oracle
9 Manual Installation and Registration of Java Plugin for Linux
Many browser vendors have removed NPAPI based plugin support. Therefore, the Java Plugin will not register with any modern browsers, such as Firefox ( Firefox 52+) and Chrome (Chrome 42+).
Manually linking the Java plugin libraries to the Mozilla plugins directory may cause the Firefox browser to crash on Linux during startup, due to incompatibilities with ‘glibc’ versions in JDK 8u191 and later releases. The crash might also occur if the link was manually created for an earlier JRE and a user updates to JDK 8u191 or later releases. For more information, see the Known Issues section of the JDK 8u191 release notes .
This page describes how to install and register the Java plugin.
This page has these topics:
See «JDK 8 and JRE 8 Installation Start Here» for general information about installing JDK 8 and JRE 8.
Plugin Installation
When you install the Java platform, the Java plugin file is included as part of that install. If you want to use Java within Firefox, you need to manually create a symbolic link from the plugin file in the release to one of the locations that Firefox expects. To make the plugin available to all users, create the link inside of the Firefox application’s directory, in the plugins subdirectory. Alternatively, you can create the symbolic link in your home directory, in
/.mozilla/plugins . In the remainder of this document, the text, «Firefox plugins directory«, implies either of these locations.
For Firefox version 21 and higher, you must create the symbolic link in your home directory,
/.mozilla/plugins . Beginning with Firefox version 21, creating the symbolic link in the plugins subdirectory of the Firefox application’s directory is not supported.
This release provides the Next-Generation Java plugin. If you have been using the classic plugin, see «Notes» for further information.
The location of the plugin file for Linux varies according to the processor architecture of the underlying platform, as shown in the following table.
Processor Architecture | Location of File |
---|---|
32-bit | j re1.8.0 version /lib/i386/libnpjp2.so |
64-bit | jre1.8.0_ version /lib/amd64/libnpjp2.so |
If you are using a 32-bit Firefox, you should use the 32-bit Java Plugin (from the lib/i386 directory). To determine which version of Firefox you are running, launch the application, and select the menu item Help > About Mozilla Firefox. At the bottom of the window is a version string line that contains either «Linux i686» (32-bit) or «Linux x86_64» (64-bit).
To install the Java Plugin follow these steps:
Uninstall any previous installations of Java Plugin.
Only one Java Plugin can be used at a time. When you want to use a different plugin, or version of a plugin, remove the symbolic links to any other versions and create a fresh symbolic link to the new one.
Remove the symbolic links (or move them to another directory) to javaplugin-oji.so and libnpjp2.so from the Firefox plugins directory.
Create a symbolic link to the Java Plugin in the Firefox plugins directory.
For a 32-bit plugin:
For a 64-bit plugin:
Start the Firefox Browser.
Type about:plugins in the Location bar to confirm that the Java Plugin is loaded. Alternatively, click the Tools menu to confirm that Java Console is there.
Notes
The classic plugin file was located here:
This file should no longer be used and all symbolic links to it should be removed.
Источник
Manual Installation and Registration of Java Plugin for Linux
See JDK 7 and JRE 7 Installation Guide for general information about installing JDK 7 and JRE 7.
When you install the Java platform, the Java plugin file is included as part of that install. If you want to use Java within Firefox, you need to manually create a symbolic link from the plugin file in the release to one of the locations that Firefox expects. To make the plugin available to all users, create the link inside of the Firefox application’s directory, in the plugins subdirectory. Alternatively, you can create the symbolic link in your home directory, in
/.mozilla/plugins . In the remainder of this document, the text, «Firefox plugins directory«, implies either of these locations.
Note: For Firefox version 21 and higher, you must create the symbolic link in your home directory,
/.mozilla/plugins . Beginning with Firefox version 21, creating the symbolic link in the plugins subdirectory of the Firefox application’s directory is not supported.
This release provides the Next-Generation Java plugin. If you have been using the classic plugin, see the Notes for further information.
The locaton of the plugin file for Linux varies according to the chip architecture of the underlying platform.
Chip Architecture | Location of File |
---|---|
32-bit | jre1.7.0_ /lib/i386/libnpjp2.so |
64-bit | jre1.7.0_ /lib/amd64/libnpjp2.so |
If you are using a 32-bit Firefox, you should use the 32-bit Java Plugin (from the lib/i386 directory). To determine which version of Firefox you are running, launch the application, and select the menu item Help -> About Mozilla Firefox. At the bottom of the window is a version string line that contains either «Linux i686» (32-bit) or «Linux x86_64» (64-bit).
To install the Java Plugin follow these steps:
1. Exit Firefox.
2. Uninstall any previous installations of Java Plugin.
Only one Java Plugin can be used at a time. When you want to use a different plugin, or version of a plugin, remove the symbolic links to any other versions and create a fresh symbolic link to the new one.
Remove the symbolic links (or move them to another directory) to javaplugin-oji.so and libnpjp2.so from the Firefox plugins directory.
3. Create a symbolic link to the Java Plugin in the Firefox plugins directory.
Create a symbolic link to the Java Plugin libnpjp2.so file in the Firefox plugins directory. For a 32-bit Plugin:
For a 64-bit Plugin:
4. Start the Firefox browser.
Type about:plugins in the Location bar to confirm that the Java Plugin is loaded. You can also click the Tools menu to confirm that Java Console is there.
Notes
- The classic plugin file was located here:
This file should no longer be used and all symbolic links to it should be removed.
Источник
JavaPlugin
Эта инструкция описывает установку модуля поддержки Java от Oracle для Firefox.
Содержание
Предыстория [ править ]
Так как компания Oracle изменила лицензию на Java, запрещающую её распространение в дистрибутивах Linux, в браузерах Chromium и Firefox стало невозможно использовать старый плагин Java (из Java 1.6.0 Sun), а OpenJDK 1.7.0 может не поддерживать некоторые аплеты. Пользователю остаётся скачивать Java с сайта Oracle и настраивать её работу.
Правильный способ [ править ]
1. Актуально для текущего стабильного бранча (p6) и Sisyphus. Обновить пакет mozilla-plugin-java-1.7.0-openjdk
2. Если аплеты не работают на OpenJDK, собрать OracleSDK как показано на http://www.altlinux.org/Java/OracleSDK и установить пакет mozilla-plugin-java-1.7.0-oracle
Чуть ниже инструкция для тех, кто не желает собирать пакет.
Получение Java с сайта Oracle [ править ]
Нажмите «Accept License Agreement» и выберите нужный RPM для своей архитектуры:
- 32-битные системы: jre-7u6-linux-i586.rpm (55 МБ)
- 64-битные системы: jre-7u6-linux-x64.rpm (53 МБ)
Установка RPM [ править ]
В терминале под правами root выполните
Для 32-битных систем:
Для 64-битных систем:
Регистрация в браузерах [ править ]
Для всех пользователей [ править ]
Если нужно сделать доступным для всех пользователей в Firefox и Chromium, выполните под правами root:
Для 32-битных систем:
Для 64-битных систем:
Для одного пользователя [ править ]
В терминале под обычным пользователем выполните
Для 32-битных систем:
Для 64-битных систем:
Проверка работы [ править ]
Проверка зарегистрированного плагина [ править ]
Запустите Firefox и откройте адрес
В списке модулей должен быть плагин Java, как показано на рисунке.
Источник
How to Enable Java plugin support on Firefox on Linux
Many web pages use Java applets for interactive content such as online games, WebEx (Online meeting), etc. By default all the browsers disabled the plugin due to security issue and still you want to enable to access the trusted web sites. We can enable it on browser by following below procedures. Make sure you system should have installed Oracle JAVA before proceeding to enable the JAVA Applet.
Method 1 : Enable Java plugin Support on Firefox through Oracle Java
1) Install Oracle Java
Make sure you system should have installed Oracle JAVA before proceeding to enable the JAVA Applet.
2) Locate Firefox
First we need to locate the Firefox installation location to create plugin directory.
3) Enable Java applet on Firefox
Navigate to Menu >> Add-ons >> Plugins >> Oracle JAVA, Search Java(TM) Platform, If Java is disabled, click on Never Activate to open its drop-down menu and select the option to activate Java. The recommended (default) option is Ask to Activate, which lets you run Java when prompted.
4) Create symbolic link to enable Java in Firefox
If you didn’t find Java(TM) Platform plugin, use the below method to enable it.
Restart the Firefox browser and verify.
Method 2 : Enable Java plugin Support on Firefox through Oracle Java
1) Install OpenJDK
Simply fire the below commands to install openJDK & Java plugin support on firefox.
Enjoy…)
Источник
Как установить плагин Java для Firefox?
Что вы ищете — это менеджер пакетов Gdebi install gdebi от
Теперь вы можете установить любой install gdebi из файла , щелкнув правой кнопкой мыши на них и откройте gdebi вы можете скачать последнюю sublime .deb по ссылке https://download.sublimetext.com/sublime-text_build-3126_amd64.deb
6 ответов
Если вы используете версию после 52 (не ESR), которая отключила NPAPI , вам не повезло. Если вы используете предыдущую версию, которая вам абсолютно не нужна, вы можете установить OpenJDK JRE, которая позволит вам выполнять двоичные файлы Java локально, используя двоичный файл java . Однако этого недостаточно для запуска веб-апплетов Java в вашем браузере, чего можно достичь, установив плагин Icedtea:
Затем перейдите к about:addons , в разделе плагинов, проверьте, плагин включен. Mozilla по умолчанию отключает небезопасные плагины, это означает, что Java отключена даже после установки из-за проблем безопасности. Вам необходимо активировать его перед использованием.
Установка подключаемого модуля IcedTea Java:
Чтобы установить подключаемый модуль IcedTea Java, откройте терминал и введите:
Установите подключаемый модуль Firefox — Oracle
Удалите плагин IcedTea, если он был установлен.
Удалить старую версию плагина Java (может присутствовать или не присутствовать)
Теперь вы можете установить плагин, создав символическую ссылку (вы сообщаете Firefox, где плагин расположен). Для 32-битной Java используйте
Для 64-битной Java используйте
Подтвердите, что JRE был успешным, используя официальный сайт Oracle .
Начиная с версии Firefox 52, поддержка плагинов NPAPI (java-апплетов) в Firefox прекратилась. Из-за проблем с производительностью и безопасностью мне удается запускать java-апплеты, чтобы установить расширенный выпуск поддержки (ESR) firefox. .
Если вы только что скачали и установили java jdk из oracle, то, скажем, вы установили jdk-8u91-linux-x64.tar.gz в
/ my / java / directory /
[ 113] Тогда у вас будет каталог, например:
Все, что вам нужно сделать, это зайти в каталог плагинов Ubuntu Firefox и создать ссылка:
Это была битва, тем более что я прошел через это пару месяцев назад с 14.04, забыл решение, обновил до 16.04 .
Другое дело, что у меня был чай со льдом и Oracle, работавший под firefox в 14.04. Я на самом деле предпочитаю Oracle (не обычно, но мое использование почти требует этого), поэтому у меня есть только это сейчас. Я не пытался несколько установок или репозиториев. Симлинки по большинству инструкций там тоже не годятся.
В конце концов, в Firefox перешли в Edit -> Preference -> Applications, затем прокрутили вниз до расширения JNLP и выбрали «Use other . » из выпадающего меню. Затем нашли челюсти из соответствующего каталога.
Это всего лишь обходной путь, и я не уверен, что он подойдет вам. Имейте в виду, что большинство плагинов будут удалены к марту.
Это старая ветка, но я наткнулся на нее, пытаясь найти решение моей проблемы сегодня. Я подумал, что кто-то еще может быть в такой же ситуации.
Мне нужна браузерная Java для устаревших веб-сайтов, связанных с работой, и плагин oracle java не сокращает его. После долгого метода проб и ошибок я заставил IcedTea работать стабильно в более старой версии Firefox, например:
- Загрузите tar-версию Firefox, версия 51 (более новая версия не поддерживает плагин )
- Установите OpenJDK (7 или 8)
- Установите плагин icedtea — и плагин icedtea
- Теперь ваша инсталляция openJDK будет содержать файл IcedTeaPlugin.so в папку jre / lib
- скопируйте в папки плагинов mozilla / firefox (я не мог понять, какую из них скопировать, поэтому я просто скопировал ее во что-нибудь firefox / plugins или mozilla / plugins) [ 114]
- запустите вашу старую версию Firefox
- убедитесь, что плагин активен (проверьте: плагины)
Один из моих коллег создал скрипт для удаления старого Firefox, и распаковывать его при каждом запуске. Таким образом, он никогда не обновляется случайно. Не делайте этого с вашим основным приложением firefox.
Источник