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

Error #335

Open
CURTIS200 opened this issue Nov 30, 2024 · 1 comment
Open

Error #335

CURTIS200 opened this issue Nov 30, 2024 · 1 comment
Labels
question Further information is requested

Comments

@CURTIS200
Copy link

I keep having issues with my java debugging program. I set up a JDK, Java code, and launch.json. However, whenever I try to debug it, I get "Internal Error." I have tried restarting VS code, reinstalling the add on, but I get the same output every time.
Here the code I used:
Launch.json:
{ "version": "0.2.0", "configurations": [ { "name": "Debug Main.jar", "type": "jdk", "request": "launch", "mainClass": "Main", } ] }
Main.jar:
public class Main { public static void main(String[] args) { System.out.println("Hello World"); } }

@Achal1607
Copy link
Member

Achal1607 commented Nov 30, 2024

Hey @CURTIS200 ,
mainClass field in launch.json requires absolute path to the main class. Sorry for the inconvenience caused, can you please try that once and tell us if it helps. Please refer to related issue: #36

@Achal1607 Achal1607 added the question Further information is requested label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants