Home > Backtrack 4 > Cara install Java jre 6 di backtrack 5

Cara install Java jre 6 di backtrack 5

langsung aja. ketik perintah berikut di terminal (hak akses root)

1. root@bt:~# add-apt-repository ppa:ferramroberto/java

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 3E756CF119B127D4DA40A186B725097B3ACC3965
gpg: requesting key 3ACC3965 from hkp server keyserver.ubuntu.com
gpg: key 3ACC3965: public key "Launchpad lffl" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

2. root@bt:~# apt-get update

Get:1 http://ppa.launchpad.net lucid Release.gpg [316B]
Ign http://ppa.launchpad.net/ferramroberto/java/ubuntu/ lucid/main Translation-en_US
Hit http://ppa.launchpad.net lucid Release.gpg
Get:2 http://dl.google.com stable Release.gpg [198B]

Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en_US
Hit http://source.repository.backtrack-linux.org revolution Release.gpg
Ign http://source.repository.backtrack-linux.org/ revolution/main Translation-en_US
Ign http://source.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Hit http://32.repository.backtrack-linux.org revolution Release.gpg
Ign http://32.repository.backtrack-linux.org/ revolution/main Translation-en_US
Ign http://32.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Hit http://all.repository.backtrack-linux.org revolution Release.gpg
Ign http://all.repository.backtrack-linux.org/ revolution/main Translation-en_US
Ign http://all.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Get:3 http://dl.google.com stable Release
Ign http://source.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Ign http://source.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Ign http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main Translation-en_US
Get:4 http://ppa.launchpad.net lucid Release [13.9kB]
Hit http://source.repository.backtrack-linux.org revolution Release
Ign http://32.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Ign http://32.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Ign http://all.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Ign http://all.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Hit http://32.repository.backtrack-linux.org revolution Release
Hit http://all.repository.backtrack-linux.org revolution Release
Get:5 http://dl.google.com stable/main Packages [1,244B]
Hit http://ppa.launchpad.net lucid Release
Hit http://source.repository.backtrack-linux.org revolution/main Packages
Hit http://32.repository.backtrack-linux.org revolution/main Packages
Hit http://all.repository.backtrack-linux.org revolution/main Packages
Get:6 http://ppa.launchpad.net lucid/main Packages [2,832B]
Hit http://source.repository.backtrack-linux.org revolution/microverse Packages
Hit http://source.repository.backtrack-linux.org revolution/non-free Packages
Hit http://source.repository.backtrack-linux.org revolution/testing Packages
Hit http://32.repository.backtrack-linux.org revolution/microverse Packages
Hit http://32.repository.backtrack-linux.org revolution/non-free Packages
Hit http://32.repository.backtrack-linux.org revolution/testing Packages
Hit http://all.repository.backtrack-linux.org revolution/microverse Packages
Hit http://all.repository.backtrack-linux.org revolution/non-free Packages
Hit http://all.repository.backtrack-linux.org revolution/testing Packages
Hit http://ppa.launchpad.net lucid/main Packages
Fetched 19.9kB in 2s (8,273B/s)
Reading package lists... Done

3. root@bt:~# apt-get install sun-java6-jre sun-java6-plugin

Note: saya tidak menginstall fontnya disini jika anda ingin menginstall perintahnya menjadi seperti ini (root@bt:~# apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts)

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdmraid1.0.0.rc16 python-pyicu libdebian-installer4 cryptsetup libecryptfs0
reiserfsprogs rdate bogl-bterm ecryptfs-utils libdebconfclient0 dmraid
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
sun-java6-bin unixodbc
Suggested packages:
sun-java6-fonts ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho
ttf-sazanami-mincho ttf-arphic-uming libmyodbc odbc-postgresql tdsodbc unixodbc-bin
The following NEW packages will be installed:
sun-java6-bin sun-java6-jre sun-java6-plugin unixodbc
0 upgraded, 4 newly installed, 0 to remove and 115 not upgraded.
Need to get 36.7MB of archives.
After this operation, 105MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://32.repository.backtrack-linux.org/ revolution/main unixodbc 2.2.11-21 [201kB]
Get:2 http://ppa.launchpad.net/ferramroberto/java/ubuntu/ lucid/main sun-java6-jre 6.26-1~lffl~lucid~ppa [6,380kB]
Get:3 http://ppa.launchpad.net/ferramroberto/java/ubuntu/ lucid/main sun-java6-bin 6.26-1~lffl~lucid~ppa [30.2MB]
Get:4 http://ppa.launchpad.net/ferramroberto/java/ubuntu/ lucid/main sun-java6-plugin 6.26-1~lffl~lucid~ppa [1,854B]
Fetched 36.7MB in 2min 41s (227kB/s)
Preconfiguring packages ...
Selecting previously deselected package sun-java6-jre.
(Reading database ... 241034 files and directories currently installed.)
Unpacking sun-java6-jre (from .../sun-java6-jre_6.26-1~lffl~lucid~ppa_all.deb) ...
Selecting previously deselected package unixodbc.
Unpacking unixodbc (from .../unixodbc_2.2.11-21_i386.deb) ...
Selecting previously deselected package sun-java6-bin.
Unpacking sun-java6-bin (from .../sun-java6-bin_6.26-1~lffl~lucid~ppa_i386.deb) ...
sun-dlj-v1-1 license has already been accepted
Selecting previously deselected package sun-java6-plugin.
Unpacking sun-java6-plugin (from .../sun-java6-plugin_6.26-1~lffl~lucid~ppa_i386.deb) ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

Processing triggers for man-db ...
Setting up unixodbc (2.2.11-21) ...

Setting up sun-java6-bin (6.26-1~lffl~lucid~ppa) ...
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/java_vm to provide /usr/bin/java_vm (java_vm) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/jcontrol to provide /usr/bin/jcontrol (jcontrol) in auto mode.

Setting up sun-java6-jre (6.26-1~lffl~lucid~ppa) ...

Setting up sun-java6-plugin (6.26-1~lffl~lucid~ppa) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

nanti anda akan dimintai konfirmasi seperti gambar  dibawah. Ok saja

lalu anda akan dimintai konfirmasi lagi seperti gambar dibawah.  pilih Yes 

Done

have fun😀

sumber : zeestuff.wordpress.com

Categories: Backtrack 4
  1. cellaogi
    March 5, 2013 at 4:33 am

    om pas sudah ngikutin cara diatas tiba tiba koneksi internet saya terputus. pas bagian oknya. saya mau lanjutkan selalu error,saya ulang dari awal begitu juga.
    solusinya gimana om?

  2. March 15, 2013 at 8:31 pm

    bro ane udah ikutin caranya tapi pas muncul gambar konfirmasi ngga bisa di klik ok. dan seanjutnya saya ngga bisa install apapun. mohon bisa di kasih solusi?

    • defforce
      December 6, 2013 at 12:06 am

      Baca licensi agrement ny smpe abis gan… bis tu tekan aja tombol panah kanan yg ad d keyboard ampe tulisan ok ny jdi merah … trus lnjut dah🙂

  3. March 31, 2013 at 2:12 am

    bro @cellaogi bisa bersihkan file package yang error:
    1. sudo apt-get update –fix-missing
    2. sudo dpkg –configure -a
    3. sudo apt-get install -f

    jika masih ada file package yang rusak, solusinya edit file dpkg status secara manual
    sudo gedit /var/lib/dpkg/status (anda bisa gunakan vi atau nano)
    buang semua package yang error, lalu save dengan menekan ctrl + x lalu pilih save

    bersihkan cache yang sebelumnya tidak selesai di install. Anda bisa menggunakan perintah
    sudo apt-get clean

  4. March 31, 2013 at 2:17 am

    bro @riffrayugo silahkan download file java jre 6 lalu coba install lagi. semoga membantu

    • May 9, 2013 at 5:47 pm

      @admin kacau gan ngga bisa juga,masih sama. akhirnya install ulang lagi deh backtracknya.hahaha

  5. seekiong
    April 12, 2013 at 11:51 am

    semenjak coba pakek backtrack linux saya pusing,kenapa orang menciptakan system yg begitu memusingkan ,error sana sini gak masuk akal ,susah untuk segala hal install java aja sulit ,berpuluh puluh cara gak ada satu pun yg beres akhirnya putus asa juga,bagaikan orang bloon ingin menciptakan system canggih,akhirnya memusingkan dunia umum,memang systemnya bukan untuk orang awam ataupun orang orang awam yg sebodah saya,kata kata dan istilah yg dipakai linux cukup memusingkan,saya sudah cari cara untuk install java kemana mana akhirnya semuanya error setelah berusaha berhari hari,bahkan toko computer seluruh kotaku gak ada yg bisa ,

    • May 9, 2013 at 11:44 am

      memang backtrack tidak di khususkan untuk digunakan oleh orang yang awam dalam hal linux. Jika anda user yang baru saja mengenal linux saya sarankan mencoba linux Ubuntu. Penggunaan Linux Ubuntu hampir semudah menggunakan windows.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s