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 = [
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"vsce-package": "vsce package"
|
||||
},
|
||||
"dependencies": {
|
||||
"commons-vscode": "0.1.4",
|
||||
"commons-vscode": "file:../commons-vscode/commons-vscode-0.1.4.tgz",
|
||||
"vscode-languageclient": "^3.4.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user