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

It always asks if I want to download Java-debug #10

Open
JjersaR opened this issue Jan 10, 2023 · 7 comments
Open

It always asks if I want to download Java-debug #10

JjersaR opened this issue Jan 10, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@JjersaR
Copy link

JjersaR commented Jan 10, 2023

Recently I reinstalled plugins again, one of these was yours: use "artur-shaik/jc.nvim", I entered a Java project, and every time I open a file for the first time it asks me if I want to download Java-debub because I don't have it, I press 1 "finish" and it asks me again.

image

I tried deleting the folder it creates in ~/.local/share/jc.nvim, but the same thing keeps happening.

The plugin configuration is this:
require('jc').setup{}

Information from :checkhealt:
OK: javac: javac 17.0.5
OK: java: openjdk version "17.0.5" 2022-10-18

My system is Fedora 37 Workstation and the version of Neovim is:
NVIM v0.8.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

all plugins are up to date.

@artur-shaik
Copy link
Owner

It's weird, can you run this command: tree ~/.m2/repository/com/microsoft/java/com.microsoft.java.debug.plugin/ ?

@JjersaR
Copy link
Author

JjersaR commented Jan 12, 2023

Here's what it shows me:

image

@artur-shaik
Copy link
Owner

Can you try to delete one of the versions, please?

@JjersaR
Copy link
Author

JjersaR commented Jan 13, 2023

You could also try to delete the .m2 folder and the plugin folder?

@artur-shaik
Copy link
Owner

I guess this issue occur because of two versions of plugin, that's why I want you to delete one of this, to check if I'm right.

@JjersaR
Copy link
Author

JjersaR commented Jan 13, 2023

If that was it, I deleted version 0.39.0, entered a Java project and it didn't ask me anything anymore, thank you very much for the help.

@artur-shaik
Copy link
Owner

Thanks. Will fix that.

@artur-shaik artur-shaik added the bug Something isn't working label Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants