Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neovim support #282

Open
samarth-nagar opened this issue Mar 5, 2024 · 3 comments
Open

neovim support #282

samarth-nagar opened this issue Mar 5, 2024 · 3 comments

Comments

@samarth-nagar
Copy link

can you provide any way of getting this working inside of neovim

i tried to get this installed with the plugin mason.nvim
it gave me the following error message

Cloning git repository "https://github.com/georgewfraser/java-language-server.git"…
        Cloning into '.'...
        From https://github.com/georgewfraser/java-language-server
         * tag               v0.2.39    -> FETCH_HEAD
        + ./scripts/link_linux.sh
        Error: Module java.sql not found
        java.lang.module.FindException: Module java.sql not found
        	at java.base/java.lang.module.Resolver.findFail(Resolver.java:892)
        	at java.base/java.lang.module.Resolver.resolve(Resolver.java:129)
        	at java.base/java.lang.module.Configuration.resolve(Configuration.java:420)
        	at java.base/java.lang.module.Configuration.resolve(Configuration.java:254)
        	at jdk.jlink/jdk.tools.jlink.internal.Jlink$JlinkConfiguration.resolve(Jlink.java:217)
        	at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:523)
        	at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:411)
        	at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:286)
        	at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:56)
        	at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:34)
        spawn: bash failed with exit code 1 and signal 0. 


i have also started an issue on the mason repo if the problem was on there side but i didnt find any documentation on here to install it on neovim so it would be helpfull if you can provide us with that

thanks!

@Gogiu23
Copy link

Gogiu23 commented Mar 20, 2024

Dis you have installed the java dk and virtual machine installed? It seems more a problem of modules.

@samarth-nagar
Copy link
Author

sorry for an late reply
this is what i have install in my computer

-> java --version
openjdk 21.0.2 2024-01-16
OpenJDK Runtime Environment (Red_Hat-21.0.2.0.13-2) (build 21.0.2+13)
OpenJDK 64-Bit Server VM (Red_Hat-21.0.2.0.13-2) (build 21.0.2+13, mixed mode, sharing)

-> javac --version
javac 21.0.2

@samarth-nagar
Copy link
Author

samarth-nagar commented Apr 1, 2024

is there anything i should have installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants