Setup of JMeter and jEnv

A note on setting up JMeter on a Mac. Also jEnv that manages Java version.

First, check the version of Java installed by Homebrew  2019-01-09 12.35.13.png

When I looked it up, the latest JMeter required 8 or 9, and 11 was already installed locally due to the previous installation of Eclipse. I wanted to switch the version for each project, so I installed jEnv. I also put Jmeter in Homebrew.

brew install jenv
brew install jmeter
brew info jmeter

 2019-01-09 12.39.38.png

 2019-01-09 12.35.41.png

After all, even if you look at the version of Jmeter installed by Homebrew, 8 or 9 seems to be necessary!

Java 8 installation

Download the 8 installer from Oracle. https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Switch version with jEnv

Add environment variables and Japaneseize JMeter.

echo 'export PATH="$HONE/.jenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(jenv init -)"' >> ~/.zshrc

#Japanese localization of JMeter. By leaving it blank, it matches the locale of the OS.
echo 'export JMETER_LANGUAGE=" "' >> ~/.zshrc

#Reflect
source ~/.zshrc

Add jdk to jEnv

jenv add /Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home
jenv add /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home

 2019-01-09 12.55.14.png

Since I was able to register, I will switch the version.

jenv global 1.8
jenv rehash

 2019-01-09 13.01.50.png

Try starting JMeter

jmeter
 2019-01-10 5.52.54.png

That's it.

reference jEnv official http://www.jenv.be/ Jmeter official https://jmeter.apache.org/download_jmeter.cgi

Recommended Posts

Setup of JMeter and jEnv
behavior of didSet and willSet
Overview of Docker and containers
Background and mechanism of Fabric-loader
Summary of FileInputStream and BufferedInputStream
Combination of search and each_with_index
Judgment of JSONArray and JSONObject
Operator of remainder and exponentiation (exponentiation)
Advantages and disadvantages of Java
Basics of conditional branching and return
About fastqc of Biocontainers and Java
About Gradle's setup phase and execution phase
Proper use of redirect_to and render
This and that of the JDK
Install and configure jenv on macOS
[Swift] Advantages and disadvantages of Storyboard
Proper use of Mockito and PowerMock
[Java] Judgment of identity and equivalence
[Rails] Differences and usage of each_with_index and each.with_index
About removeAll and retainAll of ArrayList
This and that of Core Graphics
Default implementation of Object.equals () and Object.hashCode ()
Application of downcase and slice methods
This and that of exclusive control