标签:环境 jar home 比较 path pre blog inux jdk6
1、下载地址
http://jmeter.apache.org/download_jmeter.cgi
2、选择下载,本地选择,Source版会比较坑
3、安装jdk8,过程省略,可参考:https://www.cnblogs.com/monkeybrother/p/9777823.html
4、配置jmeter环境变量
export JAVA_6_HOME=`/usr/libexec/java_home -v 1.6` export JAVA_7_HOME=`/usr/libexec/java_home -v 1.7` export JAVA_8_HOME=`/usr/libexec/java_home -v 1.8` export JAVA_HOME=$JAVA_8_HOME alias jdk6="export JAVA_HOME=$JAVA_6_HOME" alias jdk7="export JAVA_HOME=$JAVA_7_HOME" alias jdk8="export JAVA_HOME=$JAVA_8_HOME" export JMETER_HOME=/apache-jmeter-5.0 export PATH=$PATH:$JAVA_HOME/bin:$JMETER_HOME/bin export CLASSPATH=$CLASSPATH:$JMETER_HOME/lib/ext/ApacheJMeter_core.jar:$JMETER_HOME/lib/jorphan.jar:$JMETER_HOME/lib/logkit-2.0.jar
5、汉化
language=zh_CN
标签:环境 jar home 比较 path pre blog inux jdk6
原文地址:https://www.cnblogs.com/monkeybrother/p/10369554.html