mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
parent
f16b50a8d2
commit
b165d8dab7
1 changed files with 6 additions and 1 deletions
|
@ -127,6 +127,11 @@ export class JavaLauncher extends AbstractLauncher {
|
|||
process.platform === 'win32' ? 'java.exe' : 'java'
|
||||
);
|
||||
|
||||
const configPath =
|
||||
process.platform === 'win32'
|
||||
? path.resolve(installationPath, 'repository/config_win')
|
||||
: this.options.jdtConfigPath;
|
||||
|
||||
const params: string[] = [
|
||||
'-Declipse.application=org.elastic.jdt.ls.core.id1',
|
||||
'-Dosgi.bundles.defaultStartLevel=4',
|
||||
|
@ -138,7 +143,7 @@ export class JavaLauncher extends AbstractLauncher {
|
|||
'-jar',
|
||||
path.resolve(installationPath, launchersFound[0]),
|
||||
'-configuration',
|
||||
this.options.jdtConfigPath,
|
||||
configPath,
|
||||
'-data',
|
||||
this.options.jdtWorkspacePath,
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue