Saturday

Steps on how to Install Ubuntu Java for FireFox and Google Chrome web browsers

Firefox web browser is included in the Ubuntu Desktop Edition 10.04 LTS operating system by default.

Install Google Chrome web browser (Chromium, codename) using the following steps:
Top Panel | System | Administration | Software Sources | make sure "http://archive.canonical.com/ lucid partner" is checked under "Other Software" tab
Top Panel | System | Administration | Synaptic Package Manager  | apply to install "Chrome"
Wait while downloading Chrome package files
Test: Top Panel | Applications | Internet | click to open Chromium Web Browser

Install Java JDK using the following steps:
Ctrl+Alt+T to open Terminal, Ctlr+Shift+T to open new tab
// $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
// $ sudo apt-get update
// $ sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin sun-java6-fonts
$ sudo apt-get install openjdk-6-jdk
// $ find /usr/lib/jvm -name '*.so'
$ find /etc/alternatives -name 'mozilla*'
/etc/alternatives/mozilla-javaplugin.so
/etc/alternatives/mozilla-flashplugin
$

Install Java Plugin for Firefox browser using the following steps:
$ cd /usr/lib/mozilla/plugins
Create soft link: $ sudo ln -s /etc/alternatives/mozilla-javaplugin.so libjavaplugin.so
// $ sudo rm libjavaplugin2.so
Reload your Firefox web browser.
Test Java on Firefox browser: http://www.java.com/en/download/testjava.jsp

Install Java Plugin for Google Chrome browser using the following steps:
// $ cd /opt/google/chrome, if you install from http://www.google.com/chrome?platform=linux
$ locate IcedTeaPlugin.so
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so
$ cd /usr/lib/chromium-browser/plugins
Create soft link: $ sudo ln -s /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so libjavaplugin.so
Close and reopen your Google Chrome web browser.
Test Java on Google Chrome browser: http://www.java.com/en/download/testjava.jsp

Note:
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.32-21 linux-headers-2.6.32-21-generic
Use 'sudo apt-get autoremove' to remove them.

No comments:

Measure execution time with Julia, example using sorting algorithms

# random integers between 1 and 100 inclusive, generate thousands of them x = rand ( 1 : 100 , 100000 ) @time sort (x; alg=InsertionSort, r...