Skip to content

Commit 1f57f69

Browse files
Eskibearfbricon
authored andcommitted
Can find Oracle JDK from Windows Registry (#1010)
Update to find-java-home@1.0.0 Signed-off-by: Yan Zhang <yanzh@microsoft.com>
1 parent 6690072 commit 1f57f69

3 files changed

Lines changed: 28 additions & 28 deletions

File tree

package-lock.json

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@
532532
},
533533
"dependencies": {
534534
"vscode-languageclient": "5.3.0-next.6",
535-
"find-java-home": "0.2.0",
535+
"find-java-home": "1.0.0",
536536
"tmp": "^0.0.33",
537537
"path-exists": "^3.0.0",
538538
"expand-home-dir": "^0.0.3",

src/requirements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as cp from 'child_process';
55
import * as path from 'path';
66
import * as pathExists from 'path-exists';
77
import * as expandHomeDir from 'expand-home-dir';
8-
import * as findJavaHome from 'find-java-home';
8+
import findJavaHome = require("find-java-home");
99
import { Commands } from './commands';
1010

1111
const isWindows = process.platform.indexOf('win') === 0;

0 commit comments

Comments
 (0)