jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62107] jmeter.bat fails to execute due to space in the (program files) for jdk path
Date Tue, 20 Feb 2018 12:01:21 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62107

--- Comment #14 from Felix Schumacher <felix.schumacher@internetallee.de> ---
(In reply to Manu from comment #12)
> (In reply to Felix Schumacher from comment #10)
> > I have tested this (and the ones before) with the following setup:
> > 
> > > set "JM_LAUNCH=C:\PATH WITH SPACES\java"
> > > jmeter.bat
> > 
> > Date: Mon Feb 19 18:13:45 2018
> > New Revision: 1824800
> > 
> > URL: http://svn.apache.org/viewvc?rev=1824800&view=rev
> > Log:
> > Use quotes around JM_LAUNCH and add a title to JM_START
> > 
> > Hopefully this will fix the space problem.
> > 
> > Bugzilla Id: 62107
> > 
> > Modified:
> >     jmeter/trunk/bin/jmeter.bat
> >     jmeter/trunk/bin/jmeterw.cmd
> 
> I tried that, hardcording JM_LAUNCH="C:\Program
> Files\Java\jdk1.8.0_162\bin\java" within jmeter.bat and it worked. However I
> believe it should work as part of the environment variable settings as well.

Instead of editing jmeter.bat you could create a setenv.bat and place it there.
Note that I used 'set "var=value"' 

Have you tried again with the current version? 

Does the current version work with the environment variable?

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message