Bug 39677 - Missing space in jmeter.bat
Summary: Missing space in jmeter.bat
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: Nightly (Please specify date)
Hardware: PC Windows XP
: P2 trivial (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 17:09 UTC by glhez
Modified: 2006-05-30 10:51 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description glhez 2006-05-29 17:09:15 UTC
There is a little problem with the jmeter.bat that shift with the last nightly
build (29 mai). The last line should be changed to this :

%JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar"
%JMETER_CMD_LINE_ARGS%

Instead of 

%JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar %JMETER_BIN%ApacheJMeter.jar
%JMETER_CMD_LINE_ARGS%

Because if the %JMETER_BIN% env var contains space, it will fail (it will try to
launch the jar file c:/documents, etc).

Using "" will correct that thing.
Comment 1 Sebb 2006-05-30 17:51:25 UTC
Thanks, applied to 2.1 branch
Comment 2 The ASF infrastructure team 2022-09-24 20:37:37 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1731