kali自带的免费版感觉特别不好用,在最新版的kali中,破解版的burpUnlimit 和burpsuite_pro_v1.7.30_sts均无法正常使用,经排查是jdk版本问题,所以把openjdk换成oracle 的jdk就可以了
首先下载
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
随便下载一个都可以,这里下载
jdk-8u171-linux-x64.tar.gz
tar -xzvf jdk-8u171-linux-x64.tar.gz
mv jdk1.8.0_171/ /usr/local/lib/jvm
cd /usr/local/lib
重命名
mv jvm jdk1.8
export JAVA_HOME=/usr/local/lib/jdk1.8/
export JRE_HOME=JAVAHOME/jreexportCLASSPATH=.:
{JAVA_HOME}/lib:JREHOME/libexportPATH=
{JAVA_HOME}/bin:$PATH
update-alternatives –install /usr/bin/java java /usr/local/lib/jdk1.8/bin/java 1
update-alternatives –install /usr/bin/javac javac /usr/local/lib/jdk1.8/bin/javac 1
update-alternatives --set java /usr/local/lib/jdk1.8/bin/java
update-alternatives --set javac /usr/local/lib/jdk1.8/bin/javac
《-----教你在Kali下安装Java环境-----》
下载地址:http://java.sun.com/javase/downloads/index.jsp
2. 解压缩文件并移动至/opt
tar -xzvf jdk-8u91-linux-x64.tar.gz
mv jdk1.8.0_91 /opt
cd /opt/jdk1.8.0_91
执行 gedit ~/.bashrc , 并添加下列内容
export JAVA_HOME=/opt/jdk1.8.0_91
export CLASSPATH=.: J A V A H O M E / l i b e x p o r t P A T H = {JAVA_HOME}/lib export PATH= JAVAHOME/libexportPATH={JAVA_HOME}/bin:$PATH
保存退出
执行 source ~/.bashrc
安装并注册
执行:
update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_121/bin/java 1
update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_121/bin/javac 1
update-alternatives --set java /opt/jdk1.8.0_121/bin/java
update-alternatives --set javac /opt/jdk1.8.0_121/bin/javac
查看结果:
则说明安装成功。
//美丽死神-wjvzbr// blog url:http://www.cnblogs.com/wjvzbr
https://www.cnblogs.com/wjvzbr/p/7881407.html