Linux localhost.localdomain 2.6.38.8-31.ign6.i686 #1 SMP Mon Jun 6 21:59:56 WIT 2011 i686 i686 i386 GNU/Linux
[intranet@localhost ~]$
Install JRE
http://www.java.com/en/download/linux_manual.jsp?locale=en
Linux RPM filesize: 20.2 MB
Linux (self-extracting file) filesize: 20.7 MB
Linux x64 * filesize: 20.3 MB
Linux x64 RPM * filesize: 19.7 MB
Pilih yang
Linux (self-extracting file) filesize: 20.7 MB
Tes JRE
http://javatester.org/enabled.html
Hasil tes
LIVE : This web browser can NOT run Java applets.
[intranet@localhost ~]$ su -
Password:
[root@localhost ~]# cd /usr
[root@localhost usr]# mkdir java
[root@localhost usr]# cd java
[root@localhost java]# cp /home/intranet/Unduhan/jre-6u30-linux-i586.bin .
[root@localhost java]#
[root@localhost java]# chmod a+x jre-6u30-linux-i586.bin
[root@localhost java]# alternatives --install /usr/bin/java java /usr/java/jre1.6.0_30/bin/java 3
[root@localhost java]# alternatives --config java
Ada 3 program yang menyediakan 'java'.
Perintah yang dipilih
-----------------------------------------------
*+ 1 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java
3 /usr/java/jre1.6.0_30/bin/java
Enter untuk mempertahankan pilihan[+] saat ini, atau ketik nomer yang dipilih:
[root@localhost java]# java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.2) (fedora-58.1.10.2.fc15-i386)
OpenJDK Server VM (build 20.0-b11, mixed mode)
[root@localhost java]# cd /usr/lib/mozilla/plugins/
[root@localhost plugins]# ln -s /usr/java/jre1.6.0_30/lib/i386/libnpjp2.so
Setelah Firefox di-restart, masuk ke http://javatester.org/enabled.html
Tampilan menjadi :
LIVE : This web browser can indeed run Java applets.
No comments:
Post a Comment