Visual studio code giving error for correct code
I have a pretty simple project and the specific line in question is the following:
The rub button in vscode does not run java
I installed jdk-22 and i checked the version and the compiler with cmd
Incorrect Java versions in Visual Studio Code
I am trying to move to visual studio code from my Java work. I have the recommended extensions but I am getting strange errors like:
“The import org.knowm cannot be resolvedJava(268435846)”
I’m having trouble with xchart on an existing Java project that I already have(and I’m using vscode). I can’t figure out why I’m getting this type of error; I’ve already checked my “settings.json” previously, but it seems to be correctly imported. I’ve removed and re-imported it numerous times, but it keeps giving me the same issue. How can I resolve this?
Renaming the file caused the other file to disappear
I was wondering if theres anyway to recover my lost files. I was editing my public class constructor name in my file A and I accidentally changed the constructor name to the same name as File B and it caused file A to replace file B. I recovered my file B but I lost all my previous work. Is there a way for me to recover my file B fuly?
Why does my Java code runs continuously in VS Code but works fine in terminal?
Running Java file’s code wouldn’t respond to user input, and didn’t output anything. it just continuously runs.
why letters and numbers showing up in my output? (Java)
when I run my program in Java, it sometimes displays strange output in the terminal. For example, if I run a program 10 times, this problem will most likely appear 2-3 times.
Force compilation of unused Java classes in Visual Studio Code
I’m working with a maven project, using vscode and the Extension Pack for Java.
‘Incorrect Package’ Error When Creating Java Classes in Visual Studio Code
“I’m experiencing an issue in Visual Studio Code where, when creating a new class in a Java project, I repeatedly get an ‘Incorrect package’ error, even though I’m sure the class is in the correct package. Closing and reopening VS Code temporarily resolves the error, but it reappears each time I create a new class or interface. How can I fix this?”
How to copy path in vscode when coding java?
I have a copy path problem when i edit java file in vscode.