Showing posts with label java plugin. Show all posts
Showing posts with label java plugin. 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)