YDL for CUDA Firefox tweaks

General discussion Forum. All YDL related question which are not Install or Beginner questions.

YDL for CUDA Firefox tweaks

Postby ppietro » 22 Dec 2011, 13:15

Hi everyone,

Just a couple quick notes if you're using Firefox in YDL for CUDA.

1. You man need to enable the dictionaries. In the US, I start here:
https://addons.mozilla.org/en-US/firefo ... -spellche/

2. Java plugin needs to be enabled. This was difficult. Basically, I had to uninstall the openjdk and openjdk-devel that were installed by default, then install Sun's 64-bit Java RPM, then set up the "alternatives command". Here's my terminal output:

Code: Select all
[root@localhost ~]# update-alternatives --install "/usr/java/
default/     jre1.6.0_30/ latest/     
[root@localhost ~]# update-alternatives --install "/usr/bin/java" "java" "/usr/java/
default/     jre1.6.0_30/ latest/     
[root@localhost ~]# update-alternatives --install "/usr/bin/java" "java" "/usr/java/default/bin/java" 3
[root@localhost ~]# update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/default/bin/javac" 3
[root@localhost ~]# update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/java/default/bin/javaws" 3
[root@localhost ~]# update-alternatives --config java

There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
   2           /usr/java/default/bin/java

Enter to keep the current selection[+], or type selection number: 2
[root@localhost ~]#


The last command - update-alternatives --config java - lets you switch between the two on the fly. This is easier than the old symbolic link method we used to use! :)

Then - you still have to do the symbolic link to connect it to Firefox:

Code: Select all
[root@localhost plugins]# cd
[root@localhost ~]# cd /usr/lib64/mozilla/plugins/
[root@localhost plugins]# ln -s /usr/java/jre1.6.0_30/lib/amd64/libnpjp2.so .
[root@localhost plugins]#


Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Return to General

Who is online

Users browsing this forum: No registered users and 4 guests

cron