-
Notifications
You must be signed in to change notification settings - Fork 510
Closed as not planned
Closed as not planned
Copy link
Description
Description:
Whenever I run any Java file using VS Code, an unwanted debug string appears before my actual output. The code runs fine, but the terminal shows a strange path like this:
a595\redhat.java\jdt_ws\DSA_Java_Practice_2ab43172\bin' 'A_STRIVER.Graphs.Dijsktra_Algo_PQ' ;b059d10e-7c02-4c14-82c2-5bbb8f0a7881
This string appears every time I run a file, even with a clean Java class containing just a main method. It started showing up after I removed a previously auto-generated launch config by the Red Hat extension.
What I’ve Tried:
- Deleted
.vscode/,.classpath,.settings/, andbin/folders - Cleaned Java Language Server workspace
- Restarted Java Language Server
- Disabled debugger plugins temporarily
- Created a new folder and ran a clean Java file (
HelloWorld.java) - Still getting the same unwanted debug string
Steps to Reproduce:
- Open a Java project folder in VS Code
- Create and run a simple Java file:
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
Run using “Run Java” (not debug)
Observe terminal output: strange debug path string appears before actual program output
VS Code Version:
VSCodeUserSetup-x64-1.99.0
Extensions:
Language Support for Java™ by Red Hat
Debugger for Java
Java Test Runner
Java Version:
OpenJDK 21.0.6 Temurin (build 21.0.6+7-LTS)
Please help me resolve this or let me know how to prevent this debug string from showing up in the output. Thanks in advance!Metadata
Metadata
Assignees
Labels
No labels
