As written on https://jmeter.apache.org/usermanual/get-started.html you
can tell JMeter via the environment variable JAVA_HOME which JDK/JRE
should be used.

I would set those variables in the setenv.sh (or setenv.bat when running
on windows) script inside JMETER_HOME/bin.

Regards

 Felix

Am 24.07.20 um 11:59 schrieb Александр Руснак:
> How can i switch Java if i have JRE and JDK on my server?
>  
>  
> С уважением,
> Руснак А.В.
>  
>  
>
>     Пятница, 24 июля 2020, 10:51 +03:00 от Martin Grigorov
>     <[email protected]>:
>      
>     Hi Александр,
>      
>     On Thu, Jul 23, 2020 at 2:58 PM Александр Руснак
>     <[email protected]
>     </[email protected]>> wrote:
>
>          
>         Hello!
>          
>         I am running Jmeter drom a command line (version Jmeter 5.2.1)
>         Open JDK platform binary procees appears in Task Manager after
>         running scripts.
>         This process instantly eats up all memory and i have heap
>         space error using only 14 users (see log file)
>          
>         When i run Jmeter in GUI mode i use 300+ active threads,
>         several simple data writer and view results tree. And it
>         doesnt cause any problems.
>          
>         Can anyone help me with this?
>
>      
>     Try with JMeter 5.3. 
>     There is a chance that it is fixed in the latest version.
>      
>
>          
>          
>          
>         С уважением,
>         Руснак А.В.
>
>         ---------------------------------------------------------------------
>         To unsubscribe, e-mail: [email protected]
>         
> <//e.mail.ru/compose/?mailto=mailto%3auser%[email protected]>
>         For additional commands, e-mail: [email protected]
>         <//e.mail.ru/compose/?mailto=mailto%3auser%[email protected]>
>
>  

Reply via email to