I've got java 12 running on my Mac, I've checked out the 6.7 branch from github and was able to successfully build and launch the project with
./gradlew run --debug-jvm. I've managed to put a breakpoint against my local ES. My goal is to put a breakpoint in a custom elasticsearch plugin for version (6.7.1) in my Intellij. I believe if I can install my plugin successfully, I can attach to my local ES instance and hit any break points in my plugin.
I have access to my plugin source code, which I have built in a zip file. How should I install this plugin against my local cluster?
I've tried to use the elasticsearch-plugin script under the distribution/src/bin folder to install but it fails with
Error: Could not find or load main class org.elasticsearch.tools.java_version_checker.JavaVersionChecker. This class probably would not work anyways because my java home is not set to 8 because I need 12 to build the project.