Comments (4)
taken from the instructions relies on wget, whaddya think?
(defun install-java-server ()
"installs the java server"
(interactive "P")
(let ((shell-cmd "rm -rf ~/.emacs.d/eclipse.jdt.ls/server/ && mkdir -p ~/.emacs.d/eclipse.jdt.ls/server/ && wget http://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz -O /tmp/jdt-latest.tar && tar xf /tmp/jdt-latest.tar -C ~/.emacs.d/eclipse.jdt.ls/server/"))
(shell-command shell-cmd nil "lsp-install-err")))
from lsp-java.
I guess the comment is for: #40 ?
As you have mentioned, the solution depends on wget
, rm
, and untar
so it won't work on Windows unconditionally. The jdt-ls
server is available through maven, and dependency:unpack
can handle tar files so this is one of the possible implementations.
from lsp-java.
Pending fix at emacs-lsp/lsp-mode#409
from lsp-java.
Fixed with emacs-lsp/lsp-mode#409 . Now you can use lsp-workspace-folders-add/remove/switch .
from lsp-java.
Related Issues (20)
- Hangs in "Main thread is Waiting" in tree sitter mode (java-ts-mode) HOT 5
- Emacs company-mode doesn't work correctly HOT 16
- lsp-java not working with java-ts-mode HOT 1
- Have to start emacs with sudo, otherwise jdtls won't work HOT 3
- [Question] How to enable annotation processing
- `lsp-jt-run` not works
- Auto indent for empty line HOT 2
- (lsp-java--get-java-version) buggy
- Support for newest version of JDK 20, 21?
- test.java is not part of any project
- Is possible to get the oracle documentation of methods?
- support for netbeans lsp server HOT 1
- may not be accessible to clients due to missing ’requires transitive’, adding it breaks company-capf
- install jdtls but Non-readable POM HOT 1
- Gradle Tasks
- lsp-java-update-server is deprecated: update to README required
- vmArgs field in the launch.json file is not parsed or used. HOT 2
- lsp-java-server-install-dir variable does not seem to work HOT 2
- Lombok support does not work
- Null annotation types config? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsp-java.