Roland Grunberg
Roland Grunberg
I agree this is a problem for rebuilds, and it's something we've brought up in the past. The I-builds disappearing makes it especially difficult to track down possible regressions that...
From https://github.com/eclipse-jdtls/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line#initialize-request : You can try configuring this with `java.configuration.runtimes` : ```json "settings": { "java": { ... ... "configuration": { ... ... "runtimes": [ { "name": "JavaSE-17", "path": "/usr/lib/jvm/java-17-openjdk", "default":...
What client are you using to consume JDT-LS ? Any of the ones mentioned at https://github.com/eclipse-jdtls/eclipse.jdt.ls/#clients ? Where is the `ClasspathEntry` you're referring to ?
> > Thanks for your response! Unfortunately it didn't work for me. > > Could you try to set > > ``` > ... > "runtimes": [ > { >...
> Java Model Exception: java.net.UnknownHostException: docs.oracle.com I think the above error might be some DNS issue. It worked for me to have the javadoc downloaded from the remote location. The...
I tried a zip file path (1) and that seems to work for me. I think URLs are also supported.
Do you have a sample of what your configuration file looks like for the setting under neovim ?
``` [Error - 16:30:18] Jun. 3, 2024, 4:30:18 p.m. java.net.ConnectException at java.net.http/jdk.internal.net.http.HttpClientImpl.send(Unknown Source) at java.net.http/jdk.internal.net.http.HttpClientFacade.send(Unknown Source) at org.eclipse.jdt.ls.core.internal.managers.MavenCentralIdentifier.find(MavenCentralIdentifier.java:119) at org.eclipse.jdt.ls.core.internal.managers.MavenCentralIdentifier.identifySha1(MavenCentralIdentifier.java:81) at org.eclipse.jdt.ls.core.internal.managers.MavenCentralIdentifier.identify(MavenCentralIdentifier.java:72) at org.eclipse.jdt.ls.core.internal.managers.MavenCentralIdentifier.identify(MavenCentralIdentifier.java:58) at org.eclipse.jdt.ls.core.internal.managers.MavenSourceDownloader.discoverSource(MavenSourceDownloader.java:78) at org.eclipse.jdt.ls.core.internal.managers.InvisibleProjectBuildSupport.discoverSource(InvisibleProjectBuildSupport.java:103) at org.eclipse.jdt.ls.core.internal.HoverInfoProvider.computeHover(HoverInfoProvider.java:135)...
Can you try adding the following as a system property to the JDT-LS launch : `-DDetectVMInstallationsJob.disabled=true`. I assume it would need to go at https://github.com/microsoft/monitors4codegen/blob/ae4499082c15fd46f54c539d28b3504feb4cd082/src/monitors4codegen/multilspy/language_servers/eclipse_jdtls/eclipse_jdtls.py#L109-L123 . See https://github.com/redhat-developer/vscode-java/blob/b1d08312b3d986368afbbe56e9271b4f9d6758fc/src/javaServerStarter.ts#L136 as an...
>`LSP: window/logMessage: {'type': 3, 'message': 'Nov 19, 2023, 2:01:18 PM Initializing Java Language Server 1.28.0.202309280239'}` They appear to be [extracting the JDT-LS runtime directly out of the vsix we publish](https://github.com/microsoft/monitors4codegen/blob/ae4499082c15fd46f54c539d28b3504feb4cd082/src/monitors4codegen/multilspy/language_servers/eclipse_jdtls/runtime_dependencies.json#L10-L46)....