How to install java on kali linux

Содержание
  1. Sanix-Darker / [Shell] Install Java JDK 1.8 on Debian, Kali linux
  2. This comment has been minimized.
  3. fyalcincosar commented Jan 13, 2018
  4. This comment has been minimized.
  5. r1cs3c commented Feb 23, 2018
  6. This comment has been minimized.
  7. SawHtet93 commented Jul 4, 2018
  8. This comment has been minimized.
  9. AzyCrw4282 commented Aug 6, 2018
  10. This comment has been minimized.
  11. nohope91 commented Jan 3, 2019
  12. This comment has been minimized.
  13. issambaccouch commented Mar 16, 2019
  14. This comment has been minimized.
  15. williesmithy420 commented Jul 17, 2019
  16. This comment has been minimized.
  17. Sanix-Darker commented Jul 17, 2019
  18. This comment has been minimized.
  19. emilyanncr commented Aug 27, 2019
  20. This comment has been minimized.
  21. sproutecks2125 commented Sep 22, 2019
  22. This comment has been minimized.
  23. sproutecks2125 commented Sep 22, 2019 •
  24. This comment has been minimized.
  25. emilyanncr commented Sep 24, 2019
  26. This comment has been minimized.
  27. aadesh2401 commented Mar 11, 2021
  28. This comment has been minimized.
  29. wihacker-X1 commented Apr 1, 2021
  30. This comment has been minimized.
  31. Sanix-Darker commented Apr 1, 2021
  32. This comment has been minimized.
  33. emilyanncr commented Jun 29, 2021 •
  34. This comment has been minimized.
  35. Ak4695755 commented Sep 8, 2021
  36. How to install Java in Kali Linux 2.0 – Kali Sana
  37. Download latest Java SE SDK
  38. Uncompress archive
  39. Install and register binaries
  40. Testing your installation
  41. Use feedback
  42. How to install Oracle JRE 8 on Kali 32-64bit Linux Easy Visual-Guide
  43. Install Oracle JRE 8 on Kali Linux
  44. How to Install Java JDK in Kali Linux
  45. Instructions on How to Install Java JDK in Kali Linux:
  46. Download the latest Java SE SDK version
  47. UnTar the Archive and move to /opt
  48. Install and register binaries
  49. Check Also
  50. Install, setup, configure and run OpenVAS on Kali Linux
  51. How to install VirtualBox Guest Additions in Kali Linux (Kali Rolling / Kali Linux 2016.2 / Kali 2017)
  52. 36 comments

Sanix-Darker / [Shell] Install Java JDK 1.8 on Debian, Kali linux

sudo su —
cat >/etc/apt/sources.list.d/webupd8team-java.list

This comment has been minimized.

Copy link Quote reply

fyalcincosar commented Jan 13, 2018

This comment has been minimized.

Copy link Quote reply

r1cs3c commented Feb 23, 2018

Thanks, man only instructions that work!

This comment has been minimized.

Copy link Quote reply

SawHtet93 commented Jul 4, 2018

This comment has been minimized.

Copy link Quote reply

AzyCrw4282 commented Aug 6, 2018

This comment has been minimized.

Copy link Quote reply

nohope91 commented Jan 3, 2019

BIG THANKS FROM THE HELL T_T
GODDAMN IT ,. OHH FINALLY THAT WORKED .
YEAAAAAAAAAAAAAAAAAH ^_^

This comment has been minimized.

Copy link Quote reply

issambaccouch commented Mar 16, 2019

thank you so so so so soso much u save my day

This comment has been minimized.

Copy link Quote reply

williesmithy420 commented Jul 17, 2019

Iam new to kali linux i copied the code from above and sommit happened but when i go into Applications theres nowt about java
iam trying to install java and then hopefully Netbeans please help

This comment has been minimized.

Copy link Quote reply

Sanix-Darker commented Jul 17, 2019

@williesmithy420 when you followed instructions and then hit in your CLI :
java -version
What did you get ?

This comment has been minimized.

Copy link Quote reply

emilyanncr commented Aug 27, 2019

E: The repository ‘http://ppa.launchpad.net/webupd8team/java/ubuntu trusty InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.

This comment has been minimized.

Copy link Quote reply

sproutecks2125 commented Sep 22, 2019

@emilyanncr I received the same message:

after apt-get update

E: Repository ‘http://ppa.launchpad.net/webupd8team/java/ubuntu trusty InRelease’ changed its ‘Label’ value from ‘Oracle Java (JDK) 8 Installer PPA’ to ‘Oracle Java (JDK) 8 Installer PPA (DISCONTINUED)’
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

Trying to install Java 8 on Windows 10 — Linux Sub System (WSL). Have to have JDK8 to run Bless.

This comment has been minimized.

Copy link Quote reply

sproutecks2125 commented Sep 22, 2019 •

From WebUPD8 Team website:

How To Install Oracle Java 8 In Debian Via Repository [JDK8]

Author: Andrew | Posted: March 20, 2014 | Updated: April 18, 2019
The Oracle JDK License has changed for releases starting April 16, 2019.

The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost — but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available here.

Oracle Java downloads now require logging in to an Oracle account to download Java updates, like the latest Oracle Java 8u211 / Java SE >8u212. Because of this I cannot update the PPA with the latest Java (and the old links were broken by Oracle).

For this reason, THIS PPA IS DISCONTINUED (unless I find some way around this limitation).

So no way to do this now??

This comment has been minimized.

Copy link Quote reply

emilyanncr commented Sep 24, 2019

oh yes I found a solution. shit..my memory’s foggy on where I found the answer. I know I had to download jre-8u221-linux-x64.tar.gz and do a few other things. I’ll try to find the article.

This comment has been minimized.

Copy link Quote reply

aadesh2401 commented Mar 11, 2021

# apt-get install oracle-java8-installer
Reading package lists. Done
Building dependency tree
Reading state information. Done
E: Unable to locate package oracle-java8-installer

This comment has been minimized.

Copy link Quote reply

wihacker-X1 commented Apr 1, 2021

# apt-get install oracle-java8-installer
Reading package lists. Done
Building dependency tree
Reading state information. Done
E: Unable to locate package oracle-java8-installer

This comment has been minimized.

Copy link Quote reply

Sanix-Darker commented Apr 1, 2021

@aadesh2401 and @WiHacker , apt-get update first doesn’t help ?

This comment has been minimized.

Copy link Quote reply

emilyanncr commented Jun 29, 2021 •

This comment has been minimized.

Copy link Quote reply

Ak4695755 commented Sep 8, 2021

Totally was a raw material for me just a waste of time nothing else

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

How to install Java in Kali Linux 2.0 – Kali Sana

This post will outline the steps required to install Java in Kali Linux 2.0 – Kali Sana. This post got the same instructions which also applies to Kali Linux 1.x and it’s still valid. I’ve had other readers confirming the process. Do verify and if it worked for you, let me know via comments section. I’ve also updated instructions for latest Java SE Development Kit 7u79 i.e. jdk-7u79-linux-x64.tar.gz, so you can pretty much copy paste it as long the versions are matching. Otherwise, replace the version number and you will be fine.

So lets get on with the installation:

Download latest Java SE SDK

At the time of writing this guide the jdk version was jdk-7u79-linux-x64.tar.gz. Note that I’m using x64 which is 64-bit. 32-bit users should choose their versions accordingly. Not that tough really!

Following is what I’ve used in this guide:

Download and save the file in /root directory.

Uncompress archive

Now you uncompress and move the whole uncompressed folder to /opt (optional) directory.

Install and register binaries

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

Testing your installation

First of all, close your browser and re-open. You won’t believe how many users actually forgets to do this step and later complains Java ain’t working. I’d advise to bookmark this site to be able to reopen these instructions quickly, or simply copy these into a leafpad / vi / text-editor .

To check the version of Java you are now running

To check the browser plugin just click Do I have Java?

This should take you to Oracles Java website and you will see a confirmation message.

Use feedback

I also had this following Feedback/comment here which confirms this process.

Источник

How to install Oracle JRE 8 on Kali 32-64bit Linux Easy Visual-Guide

Install Oracle JRE 8 on Kali Linux

The Tutorial Shows You in Easy-Steps How to Install and Getting-Started with the Oracle-Sun Official Java SE JRE 8 for Kali 1.x/2.x/2016/2017/2018/2019/2020 i386/amd64 GNOME Linux Desktop.

After Installing you will need to Use the update-alternatives Tool to Update your System Java to 1.8 JRE8.

To the Oracle JRE 8 Installation Kali Bottom there is a Link to Installing Oracle JDK 8 and Eclipse for Java Developers for Kali Linux.

Furthermore, to Make the Process Easier to Visualize the Post Includes the Basic Screenshots of the Steps Involved.

The Contents and Details of How to Install Oracle JRE 8 on Kali are Expressly Essentials to Give Focus Only to the Essentials Instructions and Commands and Make the Tut Easier to Understand 😉

Download Oracle Java SE JRE8 for Linux

Open a Terminal Window
(Press “Enter” to Execute Commands) .

Double-Click on Archive and Extract into /tmp.

Relocate Oracle JRE 8

Update System Java to Oracle JRE8

How to Install the Latest Eclipse for Java SE on Linux Kali:

Checking or Setting the System Java Version in Use
with

And for the Java Compiler instead:

To Switch of Java Version Just Enter the Selection Number on First, Column. 🙂
Last Achieve the SuperUser session:

How to Install Oracle-Sun JDK 8 on Kali Linux

Now Thanks to Oracle-Sun Corporation You are Able to Successfully Start with Java JRE 8 Use & Development.

Источник

How to Install Java JDK in Kali Linux

POST UPDATED with latest version of Java: 18/12/2013.

This is a small guide with instructions that users can copy paste and make Java work in their Kali Linux. Thanks to purehate for providing original instructions. I’ve modified his instruction to suit my needs and I hope this will benefit users as well.

So lets get on with this guide…

Instructions on How to Install Java JDK in Kali Linux:

Download the latest Java SE SDK version

Go to the following link and download jdk7. At the time of writing this guide the jdk version was jdk-7u45-linux-x64. Note that I’m using x64 which is 64-bit. 32-bit users should choose their versions accordingly. Not that tough really!

Following is what I’ve used.

Again, at the time of writing this guide the available version was jdk-7u45-linux-x64.tar.gz

Download and save the file in /root directory.

UnTar the Archive and move to /opt

Install and register binaries

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

First of all, close your browser and re-open. You won’t believe how many users actually forgets to do this step and later complains Java ain’t working. I’d advise to bookmark this site to be able to reopen these instructions quickly, or simply copy these into a leafpad/vi/text file.

To check the version of Java you are now running

To check the browser plugin just click Do I have Java?

This should take you to Oracles Java website and you will see a confirmation message.

Thanks for reading.

Check Also

Install, setup, configure and run OpenVAS on Kali Linux

Vulnerability scanning is a crucial phase of a penetration test and having an updated vulnerability …

How to install VirtualBox Guest Additions in Kali Linux (Kali Rolling / Kali Linux 2016.2 / Kali 2017)

Since Kali Linux 2016 came out (also known as Kali Rolling), it seems that Official …

36 comments

You’re welcome Phelipe.

Thank you. Great tutorial. 🙂

Thanks. Glad it helped you.

thank you very much

i get question how about this .
no alternatives for mozilla
when i check my java is 1.6 version
please reply me …. (

what if i have a Iceweasl browser..what changes in command of mozilla??

Just a quick question. Why JDK over JRE? That confused me a little.

Its preference I would assume, but the JDK includes jre when you install it lol

JDK is for developer, for those who develop java applications and it have tools for developing. Note that JDK also include JRE. I develop java software and I find that JDK is needed in my development.

JRE on the other hand, is for the end-user who is using java application, but not developing. JRE doesn’t include JDK.h

There is another JRE for Server. In total, there are 3 packages available. JDK, JRE & JRE Server.

Sorry, one final question. Why extract it to the root folder instead of creating a separate folder for it inside of root?

I see it actually does go to it’s own folder. I retract my last question. My understanding of all the options of all the programs needs serious work.

I looked the website and there is no 32-bit version?!

(x86) is another name for 32-bit version. Download that one.

How can i install jre java ?
Thanks in advance

Guide needs to be updated in accordance with the latest JDK.

installing jdk 1.8.0_31 but not well confiqured

Dont forget :
apt-get install icedtea-7-plugin

This allows Java to work in your browser (if thats what you want)

help error while installing: tar (child): /root/jdk-7u79-linux-x64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

I’m sure you haven’t copy the JDK file into your root as bMO said in the guide.

This still applies. Thanks!

Thanks Robert. Appreciate the feedback.

hey..i used the procedure above but when i opened gparted, i got this error
(gpartedbin:28676): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: locale::facet::_S_create_c_locale name not valid

could it have been caused by this procedure?

Thank you blackmoreops for this guide, working on 2015. I even made a video tutorial on this giving credit to blackmoreops himself. Feel free to watch, and thanks again to blackmoreops, really useful guide for me.

i got this error after
update-alternatives –install /usr/bin/java java /opt/jdk1.8.0_73 bin/java 1
update-alternatives: priority must be an integer

I get this error when entering the alternative
root@kali:/opt/jdk1.8.0_60# update-alternatives –install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.8.0_60/jre/lib/amd64/libnpjp2.so 1
update-alternatives: error: alternative path /opt/jdk1.8.0_60/jre/lib/amd64/libnpjp2.so doesn’t exist

what about Kali Sana ? , as it seems not to be working .
altought the version terminal shows is
“java version “1.7.0_79″
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-1

deb8u1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode) ”

but i dont get any Java in the list of execute the java file from it , where i am going wrong ?

helpful .. useful and it works … thx for help u save my day

I got this problem when entering this tar -xzvf/ root/jdk-7u79-linux-i586.tar.gz
tar (child): /root/jdk-7u79-linux-i586.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2 tar: Error is not recoverable: exiting now

How could I solve this problem?

Nice Work by admin…
also you can use script i made, simple run script and enjoy….
get script at https://cyberghosts.wordpress.com/2016/11/30/update-java-in-kali-linux/

thanks a lot, admin!

My install: jdk1.8.0_121 for KaliLinux 2017 on Intel 32bit system

Источник

Читайте также:  Run debian gnu linux ��� ��� �����
Оцените статью