https://bz.apache.org/bugzilla/show_bug.cgi?id=59052
Bug ID: 59052
Summary: jmeter.bat don't use the JM_LAUNCH to test java
version, so java versions could be different
Product: JMeter
Version: 2.13
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Hi,
You could set the JM_LAUNCH but this information is not used to detected the
java version, so JM_LAUNCH and 'java' could have differents versions
rem JM_LAUNCH - java.exe (default) or javaw.exe
set JM_LAUNCH=d:\java\jdk1.7
but the java -version 2^>^&1 use the version in the PATH not the JM_LAUNCH
...
for /f "tokens=3" %%g in ('java -version 2^>^&1 ^| findstr /i "version"') do (
rem @echo Debug Output: %%g
set JAVAVER=%%g
)
Regards.
Vincent D.
--
You are receiving this mail because:
You are the assignee for the bug.