You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "KingRabbid (via GitHub)" <gi...@apache.org> on 2023/04/28 04:18:58 UTC

[GitHub] [jmeter] KingRabbid commented on issue #5789: Jmeter Windows how to force non system Java version usage in Jmeter.bat?

KingRabbid commented on issue #5789:
URL: https://github.com/apache/jmeter/issues/5789#issuecomment-1526966168

   Hi,
   
   as @FSchumacher said, you can use _setenv.bat_ like this:
   ```
   set JAVA_HOME=c:\devtools\jdk11
   set PATH=%JAVA_HOME%\bin;%PATH%
   ```
   You can further customize JMeter environment parameters here, like HEAP or JVM_ARGS. All details can be found in the official documentation.
   
   I would also recommend using _jmeterw.cmd_ to start JMeter as it closes the Command prompt window; but do this only after you have successful start as otherwise you lose all console messages.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org