Is there any way to get an instance of JavaToolchainService for a particular file system path? I like all the toolchain automatic-detections but for low-level JDK developers providing a path to a JDK and the JDK version is an overkill. What I’m looking for is a way to instantiate JavaToolchainService for the provided filesystem path (regardless of the JDK version present there), similar to what used to be possible via:
If there is a way to do it via public API – all the better. But even internal APIs would be a good workaround.