Instalasi ini dibagi menjadi 2 tahap besar. Pertama adalah instalasi JAVA itu sendiri. Dan kedua memasukkan plugins JAVA ke dalam Firefox. Sebelum itu semua, terlebih dahulu download JRE dari http://java.com/en/download/manual.jsp. Pilih sistem operasi yang anda kehendaki. Dalam kesempatan ini, saya menggunakan Linux dan memilih paket Linux (selft-extracting file) sebesar 19 MB-an. Paket ini sudah saya download dan saya letakkan di ftp://dl1.batan.go.id/array1/VOL1/source_linux/ dengan nama "jre-6u11-linux-i586-rpm.bin".
I. Instalasi plugins JAVA
1. Masuk ke direktori dimana Java mau diinstall, katakan direktori /usr/java
-bash-3.2# cd /usr/java/
2. Salin file java yang anda dapat atau anda download ke direktori /usr/java. Kebetulan hasil download saya letakkan di /home/msmunir/Desktop dengan nama file "jre-6u11-linux-i586-rpm.bin"
-bash-3.2# cp /home/msmunir/Desktop/jre-6u11-linux-i586-rpm.bin .
3. Cek apakah file sudah tersalin di /usr/java
-bash-3.2# ls default jre1.6.0_04 jre-6u11-linux-i586-rpm.bin latest
-bash-3.2#
4. Ubah attribute file "jre-6u11-linux-i586-rpm.bin" ke a dan x
-bash-3.2# chmod a+x jre-6u11-linux-i586-rpm.bin
5. Jalankan file "jre-6u11-linux-i586-rpm.bin"
-bash-3.2# ./jre-6u11-linux-i586-rpm.bin
Sun Microsystems, Inc. Binary Code License Agreement
for the JAVA SE RUNTIME ENVIRONMENT (JRE) VERSION 6 and
JAVAFX RUNTIME VERSION 1
SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION
THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY
CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS
(COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT
CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU
ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY
SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THE
AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE
TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE
AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT
CONTINUE.
1. DEFINITIONS. "Software" means the identified above in
binary form, any other machine readable materials
(including, but not limited to, libraries, source files,
header files, and data files), any updates or error
corrections provided by Sun, and any user manuals,
programming guides and other documentation provided to you
by Sun under this Agreement. "General Purpose Desktop
Computers and Servers" means computers, including desktop,
laptop and tablet computers, or servers, used for general
computing functions under end user control (such as but not
specifically limited to email, general purpose Internet
browsing, and office suite productivity tools). The use of
Software in systems and solutions that provide dedicated
functionality (other than as mentioned above) or designed
for use in
....
....
kepanjangan, jadi gak ditulis semua he he he
....
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jre-6u11-linux-i586.rpm
Preparing... ########################################### [100%]
1:jre ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
localedata.jar...
plugin.jar...
javaws.jar...
deploy.jar...
Done.
-bash-3.2#
6. Cek kembali hasil instalasi, khususnya direktori baru terkait dengan plugins JAVA ini.
-bash-3.2# ls -l
total 38540
lrwxrwxrwx 1 root root 16 2008-07-26 18:49 default -> /usr/java/latest
drwxr-xr-x 7 root root 4096 2008-07-26 18:49 jre1.6.0_04
drwxr-xr-x 7 root root 4096 2008-12-06 05:55 jre1.6.0_11
-rw-r--r-- 1 root root 19815397 2008-11-10 18:42 jre-6u11-linux-i586.rpm
-rwxrwxr-x 1 root root 19565413 2008-12-06 05:53 jre-6u11-linux-i586-rpm.bin
lrwxrwxrwx 1 root root 21 2008-12-06 05:56 latest -> /usr/java/jre1.6.0_11
-bash-3.2#
Terlihat ada direktori dimana plugins JAVA diletakkan, yaitu direktori "jre1.6.0_11"
7. Selanjutnya melakukan instalasi pada sisi Firefox.
II. Penambahan plugins JAVA ke dalam Firefox
1. Cari dimana kumpulan plugins diletakkan oleh Firefox
-bash-3.2# find / -name "plugins"
Ternyata ada di folder "/usr/lib/firefox-2.0.0.10/plugins/".
Untuk IGOS Nusantara 4, ada di folder "/usr/lib/mozilla/plugins/".
Kalau menggunakan IGN2010, ada di folder "/usr/lib/mozilla/plugins/".
2. Pindah ke folder "/usr/lib/firefox-2.0.0.10/plugins/".
Kalau menggunakan IGOS Nusantara 4, pindah ke folder "/usr/lib/mozilla/plugins/".
Kalau menggunakan IGN2010, juga pindah ke folder "/usr/lib/mozilla/plugins/".
-bash-3.2# cd /usr/lib/firefox-2.0.0.10/plugins/
untuk IGOS Nusantara 4 :
-bash-3.2# cd /usr/lib/mozilla/plugins/
3. Buat link simbolik plugins JAVA ke Firefox ini di folder plugins :
-bash-3.2# ln -s /usr/java/jre1.6.0_11/plugin/i386/ns7/libjavaplugin_oji.so
4. Restart Firefox anda. Bila perlu restart komputer anda.
Post test plug-in JAVA anda :
http://javatester.org/enabled.html
http://javatester.org/version.html
Demikian beberapa trik untuk menginstalasi plugins JAVA pad Firefox. Akhir kata, selamat mencoba.