Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 51

Thread: Installing Java on Kali-Linux

  1. #11
    Junior Member
    Join Date
    Mar 2013
    Location
    Canada
    Posts
    5
    Thanks brah! Worked exactly as described (64bit)

  2. #12
    Junior Member
    Join Date
    Apr 2013
    Location
    Morelos Mexico
    Posts
    1
    thanks bro worked for me

  3. #13
    Junior Member
    Join Date
    Apr 2013
    Posts
    5
    thanks pro....

  4. #14
    Junior Member
    Join Date
    Apr 2013
    Posts
    1
    Not Working With me Pls Help

  5. #15
    Junior Member
    Join Date
    Mar 2013
    Posts
    1
    Install the package icedtea-7-plugin command like:

    # apt-get install icedtea-7-plugin

    Restart your browser and test.

    I hope I helped.

  6. #16
    Junior Member
    Join Date
    Apr 2013
    Posts
    10
    Is it some major problem to update java after i install it
    - after i installed 17 it says update 21 is available and i don't feel like getting burned right now

  7. #17
    Junior Member
    Join Date
    May 2013
    Posts
    1

    Red face Latest commands to install as per above with i386

    tar -xzvf /root/jdk-7u21-linux-i586.tar.gz

    mv jdk1.7.0_21 /opt

    cd /opt/jdk1.7.0_21

    update-alternatives --install /usr/bin/javac javac /opt/jdk1.7.0_21/bin/javac 1

    update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.7.0_21/jre/lib/i386/libnpjp2.so 1

    update-alternatives --set java /opt/jdk1.7.0_21/bin/java

    update-alternatives --set javac /opt/jdk1.7.0_21/bin/javac

    update-alternatives --set mozilla-javaplugin.so /opt/jdk1.7.0_21/jre/lib/i386/libnpjp2.so

  8. #18
    Junior Member
    Join Date
    May 2013
    Posts
    2
    This tutorial is for 64 bit and 32bit but it works with some minor changes:

    1. Download the latest Java SE SDK version.

    At the time of writing the filename and version was jdk-7u21-linux-i586.tar.gz

    2. Untar the Archive
    tar -xzvf /root/jdk-7u21-linux-i586.tar.gz
    mv jdk1.7.0_21 /opt
    cd /opt/jdk1.7.0_21

    3.This step registers the downloaded version of Java as an alternative, and switches it to be used as the default:

    update-alternatives --install /usr/bin/java java /opt/jdk1.7.0_21/bin/java 1
    update-alternatives --install /usr/bin/javac javac /opt/jdk1.7.0_21/bin/javac 1
    update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.7.0_21/jre/lib/i384/libnpjp2.so 1
    update-alternatives --set java /opt/jdk1.7.0_21/bin/java
    update-alternatives --set javac /opt/jdk1.7.0_21/bin/javac
    update-alternatives --set mozilla-javaplugin.so /opt/jdk1.7.0_21/jre/lib/i386/libnpjp2.so

    4. Test

    To check the version of Java you are now running

    http://java.com/en/download/testjava.jsp

  9. #19
    Junior Member
    Join Date
    Apr 2013
    Location
    Up there somewhere X)...
    Posts
    17
    will test later, and give feedback, thanks! ...

  10. #20
    Junior Member
    Join Date
    May 2013
    Posts
    3
    Post post post
    Last edited by samcn; 2013-10-03 at 06:11 PM.

Posting Permissions

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