dweiss commented on pull request #1742:
URL: https://github.com/apache/lucene-solr/pull/1742#issuecomment-672715512


   I think the VM launcher doesn't respect search path on all environments. You 
have to provide an explicit path to the binary you're willing to launch. This 
is how it used to work, at least. I'm sure it'll be more consistent and 
reliable to have an explicit path to java. Something like this should retrieve 
it:
   
        JavaInstallationRegistry registry = 
project.extensions.getByType(JavaInstallationRegistry)
        JavaInstallation currentJvm = 
registry.installationForCurrentVirtualMachine.get()
        return currentJvm.jdk.get().javadocExecutable.asFile


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to