Replies: 4 comments 3 replies
-
It may not be the same issue, but when I ran into a similar one and I ended up checking the files and there was an error in one of the functions attempting to figure out it's location.
def find_equinox_launcher(jdtls_base_directory):
plugins_dir = jdtls_base_directory / "plugins"
# Original line:
# launchers = plugins_dir.glob('org.eclipse.equinox.launcher_*.jar')
# Fixed line:
launchers = plugins_dir.glob('org.eclipse.equinox.launcher*.jar')
for launcher in launchers:
return str(plugins_dir / launcher) This modification fixed it for me as the new pattern was matching the equinox launchers. Though this seems to be unrelated to mason |
Beta Was this translation helpful? Give feedback.
-
Also experiencing the same... but men this isnt working out for me.
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone, here’s a temporary solution:
unzip -p ~/.local/share/nvim/mason/packages/jdtls/plugins/org.eclipse.equinox.launcher.jar META-INF/MANIFEST.MF | grep "Bundle-Version" Once you have the version, rename the file by appending the version to its name. For example:
This should resolve the issue. Example : mv ~/.local/share/nvim/mason/packages/jdtls/plugins/org.eclipse.equinox.launcher.jar |
Beta Was this translation helpful? Give feedback.
-
And I try implement the solution jdtls.py so you can replace : https://github.com/naxvan/jdtls.py |
Beta Was this translation helpful? Give feedback.
-
After I install a jdtls - there is a problem that it cannot find Equinox Launcher. How can I fix this?
Beta Was this translation helpful? Give feedback.
All reactions