--no-remote should prevent all downloads.
Use the cached index; fail if not cached.
Fail if the matched JDK is not yet installed.
Note that this should not change the version matching rules: "17" should still request the latest 17.x in the index, without falling back to the latest that happens to be installed.