Showing posts with label firefox. Show all posts
Showing posts with label firefox. Show all posts

Wednesday, May 20, 2015

Install java plugin in FireFox on Ubuntu


Based on http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html
I presume that JAVA_HOME is defined , if not substitute it with real path.

On Ubuntu:

cd /usr/lib/mozilla/plugins
sudo ln -s $JAVA_HOME/jre/lib/amd64/libnpjp2.so .

recheck: 

/usr/lib/mozilla/plugins $ ls -la
total 8
drwxr-xr-x 2 root root 4096 May 20 11:57 .
drwxr-xr-x 3 root root 4096 Oct 29  2014 ..
lrwxrwxrwx 1 root root   37 May 13 12:43 flashplugin-alternative.so -> /etc/alternatives/mozilla-flashplugin
lrwxrwxrwx 1 root root   42 May 20 11:57 libnpjp2.so -> /opt/jdk1.8.0_45/jre/lib/amd64/libnpjp2.so


Launch Java app from web and on jnlp usage please select javaws:





ATTENTION: if no javaws is selected - use that window by option "Other ..." to select application at $JAVA_HOME/bin/javaws (example: /opt/jdk1.8.0_45/bin/javaws)

Friday, March 16, 2012

Fedora 16 java plugin to FireFox

Even after installing jre, you will have problem with java applets in FireFox.
javaws http:/........xxxxxx.jnlp does not work - error "Command not found".

Useful link:
http://java.com/en/download/help/linux_install.xml#rpm

Logs of commands:

cd /usr/lib/firefox/plugins/
sudo ln -s /usr/java/default/lib/i386/libnpjp2.so
Restart FireFox

Wednesday, November 9, 2011

FF 3.5 remove newTab Button



rename /home/romani/.mozilla/firefox/u3p8un3p.default/chrome/userChrome-example.css
to //home/romani/.mozilla/firefox/u3p8un3p.default/chrome/userChrome.css

add ".tabs-newtab-button { display : none };"
after "@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */"

If no such file "../chrome/userChrome.css" - create it and put:
.tabs-newtab-button { display : none };