Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Compiling Theia source code under Win11 environment

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Install gitbash\ jdk\ python\ nodejs\ yarn

2. Install the npm construction tool "npm × × tall-- global-- production windows-build-tools" under windows.

3. Block the construction of "export THEIA_ELECTRON_SKIP_REPLACE_FFMPEG=1" of ffmpeg

4. Execute yarn under the theia code directory. If you encounter that jdt cannot be downloaded, download "https://www.eclipse.org/downloads/download.php?file=/che/che-ls-jdt/snapshots/che-jdt-language-server-latest.tar.gz&r=1"" manually and store it in the 'theia code directory / node_modules/@theia/java/download/' with the name of jdt.ls-downloadUrlHash.

5. The value of downloadUrlHash can be manually printed by adding 'console.log (filename);' to the downloadJavaServer function in the theia code directory / node_modules/@theia/java/download-jdt-ls.js', and then go to the directory

Execute 'node. / scripts/download-jdt-ls.js'

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report