[Code] fix url and encoding for java langserver on Windows (#38064) (#38070)

This commit is contained in:
Pengcheng Xu 2019-06-05 15:50:57 +08:00 committed by GitHub
parent 50b73f5e34
commit 616e0f2004
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -162,7 +162,7 @@ class AdminLanguageSever extends React.PureComponent<Props, State> {
}
const SupportedOS = [
{ id: 'win', name: 'Windows' },
{ id: 'windows', name: 'Windows' },
{ id: 'linux', name: 'Linux' },
{ id: 'darwin', name: 'macOS' },
];

View file

@ -123,6 +123,7 @@ export class JavaLauncher extends AbstractLauncher {
'-Dosgi.bundles.defaultStartLevel=4',
'-Declipse.product=org.elastic.jdt.ls.core.product',
'-Dlog.level=ALL',
'-Dfile.encoding=utf8',
'-noverify',
'-Xmx4G',
'-jar',