Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Java in Opera
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Astronome
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 148

PostPosted: Tue Oct 18, 2016 4:55 pm    Post subject: [Solved] Java in Opera Reply with quote

I emerged icedtea-web, thinking it would give me Java support in Opera, but it didn't. To my understanding, setting +nsplugin on icedtea-bin would give me a browser plugin for Firefox but not Opera. Does +nsplugin on icedtea-web do the same thing? Do I even need icedtea-web? Do I need +webstart?

Code:

$ equery u icedtea-bin
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-java/icedtea-bin-7.2.6.7:
 U I
 - - abi_x86_32   : 32-bit (x86) libraries
 + + alsa         : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 - - cjk          : Add support for Multi-byte character languages (Chinese, Japanese, Korean)
 + + cups         : Add support for CUPS (Common Unix Printing System)
 - - doc          : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of
                    globally
 - - examples     : Install examples, usually source code
 + + gtk          : Add support for x11-libs/gtk+ (The GIMP Toolkit)
 - - headless-awt : Don't install the X backend for AWT, needed by some GUIs (used to be X flag)
 - - multilib     : On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
 - - nsplugin     : Build plugin for browsers supporting the Netscape plugin architecture (that is almost any modern
                    browser)
 - - nss          : Enable NSS security provider support
 - - pulseaudio   : Add support for PulseAudio sound server
 - - source       : Zip the sources and install them
 - - webstart     : Provide javaws command through symlink to icedtea-web

$ equery u icedtea-web
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-java/icedtea-web-1.6.1-r1:
 U I
 - - doc        : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of
                  globally
 - - javascript : Enable support for using proxy auto config (PAC) files.
 - - nsplugin   : Enable the browser plugin (NPPlugin).
 - - tagsoup    : Depend on dev-java/tagsoup which allows parsing malformed .jnlp files
 - - test       : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this
                  internally, so don't set it in make.conf/package.use anymore

$ equery l opera
 * Searching for opera ...
[IP-] [  ] www-client/opera-40.0.2308.81:0


Last edited by Astronome on Wed Oct 19, 2016 2:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5592

PostPosted: Tue Oct 18, 2016 4:59 pm    Post subject: Reply with quote

You can't do that. Java only supports the deprecated Netscape API and there are no plans to port it to Chromium-based browsers.
Back to top
View user's profile Send private message
Astronome
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 148

PostPosted: Tue Oct 18, 2016 5:10 pm    Post subject: Reply with quote

Ant P. wrote:
You can't do that. Java only supports the deprecated Netscape API and there are no plans to port it to Chromium-based browsers.


Are you saying there is no way to get Java support in any browser unless it supports Netscape plugins?

Why would they do this? I understand the stigma with Java but plenty of people (and their employers) rely on it still.

Edit: that can't be right, because when you search Opera add-ons for Java you get this: http://i.imgur.com/kAMpow6.png
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5592

PostPosted: Wed Oct 19, 2016 12:44 am    Post subject: Reply with quote

And when you go to Oracle's site you get this: https://www.java.com/en/download/faq/chrome.xml

The answer is there - Java on the web is as dead as ActiveX, and Oracle expects you to keep a special "Java plugin web browser" around for it.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13504

PostPosted: Wed Oct 19, 2016 1:16 am    Post subject: Reply with quote

Java's stigma is well-earned, and showed no realistic sign that Sun, and later Oracle, were interested in resolving the problems that led to the stigma. That left the browser vendors with a choice: remove Java support entirely, or leave users exposed to all the problems that Java caused. They ultimately chose to remove Java support, after giving considerable advance warning that it would be removed.
Back to top
View user's profile Send private message
Astronome
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 148

PostPosted: Wed Oct 19, 2016 2:11 pm    Post subject: Reply with quote

Ant P. wrote:
And when you go to Oracle's site you get this: https://www.java.com/en/download/faq/chrome.xml

The answer is there - Java on the web is as dead as ActiveX, and Oracle expects you to keep a special "Java plugin web browser" around for it.


I wonder why Opera directs you to Java's download site, then?

Hu wrote:
Java's stigma is well-earned, and showed no realistic sign that Sun, and later Oracle, were interested in resolving the problems that led to the stigma. That left the browser vendors with a choice: remove Java support entirely, or leave users exposed to all the problems that Java caused. They ultimately chose to remove Java support, after giving considerable advance warning that it would be removed.


That's a fine explanation. I wish I didn't need it.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13504

PostPosted: Thu Oct 20, 2016 1:47 am    Post subject: Reply with quote

Astronome wrote:
That's a fine explanation. I wish I didn't need it.
Happy to be informative.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum