jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: The shell for Java 8 / 9 detection is broken on Windows 10 / Last Java 8
Date Sat, 27 Jan 2018 15:18:01 GMT
Am 27.01.2018 um 15:55 schrieb Philippe Mouawad:
> Hi Felix,
> I fixed it, the script was strange:
>
> - I don't understand this as variable does not exist  : >>>>> IF
> "%variable:~0,2%"=="1." ( <<<<<
> - JAVAVER contains "1.X.X" so I have used : >>>>> IF "%JAVAVER:~1,2%"=="1."
> <<<<<<
Probably a mistake in the original commit and nobody used it with java 9.

But I don't understand, why you changed :~0,2 to ~1,2? Does JAVAVER not 
start with 1.?

Felix

>
> Regards
>
>
> On Sat, Jan 27, 2018 at 3:53 PM, Philippe Mouawad <
> philippe.mouawad@gmail.com> wrote:
>
>> On Sat, Jan 27, 2018 at 3:31 PM, Felix Schumacher <felix.schumacher@
>> internetallee.de> wrote:
>>
>>> Am 27.01.2018 um 15:06 schrieb Philippe Mouawad:
>>>
>>>> Hello,
>>>> I fixed in r1822407 the missing ADD_MODS on windows but there is still an
>>>> issue , on JAVA8 the ADD_MODS variable is wrongly updated
>>>>
>>> Can you be more specific, what is wrong? Is this windows, only?
>>>
>>>> Also there is a difference between windows and *nix in the way we detect
>>>> java and use JAVA_HOME (on linux and not on windows)
>>>>
>>> As far as I can see, we are not using JAVA_HOME under windows at all.
>>>
>>> Felix
>>>
>>>>
>>
>> --
>> Cordialement.
>> Philippe Mouawad.
>>
>>
>>
>


Mime
View raw message