Installation for Mac enable Jmeter
- Install JDK, JDK configuration
Encountered a problem: Install the JDK10.0.1, Once configured, go to the bin directory of jmeter, jmeter start, do not start up
Solution: Uninstall the JDK10.0.1, installed jdk1.8.0_171, configuration
View jdk installation directory: / usr / libexec / -V JAVA_HOME
How to configure: If the first configured, create touch .bash_profile hidden configuration file. If you already configured, open open -e .bash_profile, then there paste the following command:
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home
PATH=$JAVA_HOME/bin:$PATH:.
CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:.
export JAVA_HOME
export PATH
export CLASSPATH
Finally, the use of source .bash_profile to validate the configuration
Enter echo $ JAVA_HOME shows the path just configured
Enter java -version View installed java version information
How to uninstall:
Sudo rm -rf /Library/Java//JavaVirtualMachines/jdk1.8.0_40.jdk
To see jdk versions are available: ls / Library / Java / JavaVirtualMachines /
2. After configure the JDK, open jmeter bin directory to launch successful