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

Java adaptor. #118

Closed
arshappleid opened this issue Jun 3, 2021 · 2 comments · Fixed by #106
Closed

Java adaptor. #118

arshappleid opened this issue Jun 3, 2021 · 2 comments · Fixed by #106

Comments

@arshappleid
Copy link

arshappleid commented Jun 3, 2021

I cannot seem to set this up for java, I have used vs code debugger for java, and therefore copied over my vscode java configuration. Also I am use ST4. For some reason the package control file did not seem to work at all, so I downloaded the one from the git main page, but now I have double Debugger options in my menu bar.

  1. I created a sublime project , and saved my configurations there.
  2. Put breakpoint in a perfectly fine java program , and tried to debug it.
  • Also I installed adaptors but only for python, since it is the other language I know.

Here are my vs code configurations for java.
image
I removed the jdk path , and the debugger still will not work.
I think the main problem is I do not have an adaptor installed for java.

It says cannot find the adaptor.

It would be nice to have this working, I really do not like vs code , but need it for the debugger (60% of my coding). Also if someone could tell me if I made any mistakes in my setup, that will be great.

I am getting this error in the terminal.
image

@daveleroy
Copy link
Owner

There isn't support for a java adapter yet.

There is some initial stuff to support the java debug adapter supplied by jdtls here #106 which requires LSP-jdtls to be running and has not been finished yet. Because of the way the java debug adapter is setup it is not friendly and easy to integrate like many of the other debug adapters out there.

@arshappleid
Copy link
Author

Okay thanks for letting me know. Do you have a timeline, on when you think it might be done , on your side. Also do you think when it is done, you can upload it to the package control website for Sublime text. It will be great to keep checking over there.
It would help new developers a lot, since java is more of a beginners language.
Thanks for your work on the debugger though.

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

Successfully merging a pull request may close this issue.

2 participants