Posts mit dem Label Firefox werden angezeigt. Alle Posts anzeigen
Posts mit dem Label Firefox werden angezeigt. Alle Posts anzeigen

Freitag, 9. Januar 2015

Configure Firefox Java Browser plugin

Although Java might be installed on your Oracle Linux system, your browser might not know Java.
So, this is how to get your firefox up to speed.

1. Identify Java Install locations (Remember this document - No. 7)

Become User "root":

$ su -Password:
# 

Query the standard java directory on Oracle Linux:

# ls -l /usr/java/
total 8
lrwxrwxrwx. 1 root root   16 Jan  9 13:24 default -> /usr/java/latest
drwxr-xr-x. 8 root root 4096 Jan  9 13:49 jdk1.7.0_71
drwxr-xr-x. 9 root root 4096 Jan  9 13:40 jdk1.8.0_25
lrwxrwxrwx. 1 root root   21 Jan  9 13:40 latest -> /usr/java/jdk1.8.0_25


2. Find Mozilla Firefox Plugin Directory

2.1 Check your browser binary version
This is important, where to find the library!
(Firefox must be running.)

# ps -ef|grep firefox
root     12536 28294  0 14:53 pts/4    00:00:00 grep firefox
oracle   13105     1  6 11:51 ?        00:11:57 /usr/lib64/firefox/firefox


Mine is 64bit, so I have to use the 64bit plugin.

2.2 Navigate to standard Mozilla plugin directory

# cd /usr/lib64/mozilla/plugins

3. Check for existing symbolic links to the mozilla plugin

First check, if there is a link to the libnpjp2.so file:

# ls
libflashplayer.so  libtotem-cone-plugin.so  libtotem-mully-plugin.so
libnpjp2.so        libtotem-gmp-plugin.so   libtotem-narrowspace-plugin.so


4. Close your Firefox Browser!


5 Remove existing symbolic link

rm libnpjp2.so
rm: remove symbolic link `libnpjp2.so'? y


6 Create new symbolic link

# ln -s /usr/java/jdk1.7.0_71/jre/lib/amd64/libnpjp2.so

7 Test your Java Browser Plugin

Open Firefox and open Java Test Page:
https://www.java.com/en/download/help/testvm.xml
The output should be similar to mine:

Verified Java Version

Completion checkmark

Congratulations!

You have the recommended Java installed (Version 7 Update 71).

Donnerstag, 4. Juli 2013

HowTo Install adobe flash player for firefox 64bit on Oracle Linux

  1. Get flash Player for Linux 64bit:
    http://get.adobe.com/flashplayer/
    I downloaded both, the
    - yum for linux (to easy get updates with yum in future)
    - *.tar.gz version
  2. Identify as root user and install yum version download with
    package installer or by command line as user root i.e.:
    # rpm -Uhv adobe-release-x86_64-1.0-1.noarch.rpm
  3. Now we have to move the "libflashplayer.so" into the mozilla plugin directory.
    1. Open a terminal window, become root user:
      # su -
      Unzip the *.tar.gz file
      # gunzip *.tar.gz
      The *.tar file remains.
      # tar -xf *.tar
      This should extract the "libflashplayer.so" file we need to move to the mozilla plugins directory.
    2. Verify the mozilla plugin directory exists:
      /usr/lib64/mozilla/plugins  (if the plugins directory does not exist, create it)
    3. Close your firefox, if it is still running.
    4. Copy the "libflashplayer.so" to the mozilla plugins directory:
      cp libflashplayer.so /usr/lib64/mozilla/plugins
  4. Open Firefox again and test your flash player configuration:
    http://www.adobe.com/uk/software/flash/about/