More tweaks to vscode-boot-java jvm finding.
Look for a sibling JDK if the found java exe belongs to a jre.
This commit is contained in:
@@ -19,6 +19,7 @@ export function activate(context: VSCode.ExtensionContext) {
|
||||
DEBUG: false,
|
||||
CONNECT_TO_LS: false,
|
||||
extensionId: 'boot-java',
|
||||
preferJdk: true,
|
||||
launcher: (context: VSCode.ExtensionContext) => 'org.springframework.boot.loader.JarLauncher',
|
||||
classpath: (context: VSCode.ExtensionContext, jvm: commons.JVM) => {
|
||||
const classpath = [
|
||||
|
||||
Reference in New Issue
Block a user