When i am starting jmeter than it showing the follwing error An error occurred: null
My process to start jmeter is
root@L411:/opt/apache-jmeter-2.12/bin# sh jmeter An error occurred: null
If after executing jmeter.sh your apache-jmeter-x.xx/bin/jmeter.log contains something like
Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
you probably have default-jdk-headless
installed.
Installing default package (sudo yum install java-1.8.0-openjdk
) fixed the issue for me.