Skip to content

Tag: visual-studio-code

how to set JDK in UBUNTU-20.04 using VSCODE?

I am having problem with vscode and jdk, I use it in windows with many configs, but with ubuntu, It brings me this error: Everything is ok with jdk-default on vscode bash terminal. jdk bin: jdk version: but, if I try to found a $JAVA_HOME on terminal, it returns empty.. I do not know more what can I do……

Vs code terminal issue

When I tried to run java code in visual studio code, the terminal is throwing an error PowerShell terminated with exit code:4294901760 I have searched all queries but nothing is relatable. Answer You need to install java in VS-Code. To do so you can just search “java” in the extensions search bar.…

VSCode Java Debugger throwing unknown error

I had to re-install VSCode on my machine after an issue I was having, and after having done so, I can no longer run my Spring application. There is no error code, thrown, I can’t find it in the VSCode logs, and the dialog isn’t even copyable. This is the error dialog displayed: The launch.json con…

Add tests to java classpath vscode

This is my current setup: I want to be able to run the tests, but VSCode doesn’t detect them: I have tried creating the following .classpath, but still doesn’t work: I can run the test in the terminal using: Answer Update: There is another more convenient approach: You can configure the classpath …