JDK(Java Development Kit)
2021-06-06 15:02
标签:download nbsp 添加 https orm org oracl home 下载 下载:https://www.oracle.com/java/technologies/javase-downloads.html OS:centos7.8 Java:jdk-8u271-linux-x64.tar.gz /etc/profile 描述:生成堆转储快照dump文件。 分析工具:Memory Analyzer (MAT) http://www.eclipse.org/mat/ 分析工具:IBM Thread and Monitor Dump Analyzer for Java (TMDA) https://www.ibm.com/support/pages/ibm-thread-and-monitor-dump-analyzer-java-tmda JDK(Java Development Kit) 标签:download nbsp 添加 https orm org oracl home 下载 原文地址:https://www.cnblogs.com/linwenhai/p/14607548.html一、JDK安装配置
# jdk-8u271-linux-x64.tar.gz上传到/opt目录
cd /opt
tar -zxvf jdk-8u271-linux-x64.tar.gz
ln -s jdk-8u271-linux-x64 jdk
# 添加JDK环境变量
export JAVA_HOME=/opt/jdk
export PATH=.:$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
source /etc/profile
java -version
二、Memory Dump
jmap -dump:live,format=b,file=heapdump.phrof
三、Thread Dump
jstack
java -jar jca*.jar