Results 1 to 2 of 2

Thread: How to install latest java on Backtrack 5 R3 x86 x64

Hybrid View

  1. #1
    Just burned their ISO C00m4nd0's Avatar
    Join Date
    Feb 2013
    Posts
    6

    Default How to install latest java on Backtrack 5 R3 x86 x64

    This simple tutorial gonna teach you how to install java 32-Bit or 64-Bit plugin in firefox.
    Download java from the official website. http://java.com/en/download/ ->(Download tar.gz version)
    You have both solution...32 and 64-Bit.
    Choose one, or install both....and be bad boy
    We first create the directory to place java there.

    I assume you have downloaded java and placed in your root dir.

    If 32-Bit Java!? Do this! BT 5 R3 x86
    Code:
    root@bt:~# pkill firefox 
    root@bt:~# mkdir /opt/java/32/
    root@bt:~# tar xvzf jre-7u17-linux-i586.tar.gz
    root@bt:~# mv -f jre1.7.0_17/ /opt/java/32/
    root@bt:~# update-alternatives --install /usr/bin/java java /opt/java/32/jre1.7.0_17/bin/java 1
    root@bt:~# update-alternatives --set java /opt/java/32/jre1.7.0_17/bin/java
    Adding the plugin to Firefox.
    Code:
    root@bt:~# ln -sf /opt/java/32/jre1.7.0_05/lib/i386/libnpjp2.so  /usr/lib/mozilla/plugins/
    root@bt:~# export JAVA_HOME="/opt/java/32/jre1.7.0_17/bin/java"
    32 Bit Java DONE!
    -----------------------------------------------------------------------


    If 64-Bit Java!? Then do this! BT 5 R3 x64
    Code:
    root@bt:~# mkdir /opt/java/64/
    root@bt:~# tar xvzf jre-7u17-linux-x64.tar.gz
    root@bt:~# mv -f jre1.7.0_17/ /opt/java/64/
    root@bt:~# update-alternatives --install /usr/bin/java java /opt/java/64/jre1.7.0_15/bin/java 1
    root@bt:~# update-alternatives --set java /opt/java/64/jre1.7.0_15/bin/java
    Adding the plugin to Firefox.
    Code:
    root@bt:~# ln -sf /opt/java/64/jre1.7.0_17/lib/amd64/libnpjp2.so  /usr/lib64/mozilla/plugins/
    root@bt:~# export JAVA_HOME="/opt/java/64/jre1.7.0_17/bin/java"
    64 Bit Java DONE!
    -------------------------------------------------------------------

    Test it if works
    root@bt:~# firefox http://java.com/en/download/testjava.jsp

    ---------------------------------------------------

    Congrats!!! You Done it!

  2. #2
    Just burned his ISO
    Join Date
    Oct 2011
    Posts
    2

    Default Re: How to install latest java on Backtrack 5 R3 x86 x64

    Thanks for this guide, it is a big help for others! ~Canux

Similar Threads

  1. Cannot install Java in BackTrack 5 R3
    By Hdollar in forum BackTrack 5 Beginners Section
    Replies: 5
    Last Post: 02-04-2013, 01:40 PM
  2. HOW TO: Update Java to latest V.
    By alexcass4 in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 07-16-2012, 09:46 PM
  3. using latest Sun Java JRE
    By brtw2003 in forum BackTrack Howtos
    Replies: 0
    Last Post: 10-04-2010, 12:34 PM
  4. How to install Java on backtrack 3
    By Basic204 in forum OLD Newbie Area
    Replies: 1
    Last Post: 04-05-2009, 01:18 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •