1、安装gitbash\jdk\python\nodejs\yarn;
2、安装windows下用于npm构建工具"npm ×××tall --global --production windows-build-tools";
3、屏蔽ffmpeg的构建"export THEIA_ELECTRON_SKIP_REPLACE_FFMPEG=1";
4、在theia代码目录下执行yarn,如果碰到jdt下载不了,则手工下载"https://www.eclipse.org/downloads/download.php?file=/che/che-ls-jdt/snapshots/che-jdt-language-server-latest.tar.gz&r=1", 并用jdt.ls-downloadUrlHash命名存放到'theia代码目录/node_modules/@theia/java/download/';
5、downloadUrlHash的值可以手工在'theia代码目录/node_modules/@theia/java/download-jdt-ls.js'中的downloadJavaServer函数加下打印'console.log(filename);',然后进到目录
执行'node ./scripts/download-jdt-ls.js'