Error: Java version -- 1.7.0_80 -- is too low to run JMeter. Needs a Java version greater than or equal to 1.8.0
errorlevel=3
Open jmeter.bat in notepad and add below code on top of the file.
File Location: \apache-jmeter-5.0\bin\jmeter.bat
@echo off
echo Setting JAVA_HOME
set JAVA_HOME=C:\xxxxx\install\oracle\Java\jdk-11.0.1
echo setting PATH
set PATH=%JAVA_HOME%\bin;%PATH%
echo Display java version
java -version
Here you go!