[
https://issues.apache.org/jira/browse/LUCENE-9122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Weiss resolved LUCENE-9122.
---------------------------------
Resolution: Fixed
{code:java}
Testing against different JVMs
------------------------------By default tests are executed with the same Java
gradle is using internally.
To run tests against a different Java version define a property called
"runtime.java.home" or define an environment variable "RUNTIME_JAVA_HOME"
pointing at the JDK installation folder.If property is used, it can be a system
property (-D...) or a project
property (-P...).Example:gradlew test -p lucene/test-framework --tests
TestJvmInfo -Dtests.verbose=true -Druntime.java.home=/jvms/jdk14 {code}
> Allow running tests against gradle-unsupported ea-JVMs
> ------------------------------------------------------
>
> Key: LUCENE-9122
> URL: https://issues.apache.org/jira/browse/LUCENE-9122
> Project: Lucene - Core
> Issue Type: Sub-task
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]