I have a simple Java application with 3 source files. The program compiled and ran fine in the integrated terminal before. Until I tried to use an extension GraalVM for Java or something. Didn't understand how to use that, so I uninstalled it. Now when I use "Run without Debugging" I just get a pop-up saying "Run: Compiling ... Source: Debugger for Java (Extension)" and the program does not start in the integrated terminal. I think this is related to file launch.json which is
{
"configurations": [
{
"type": "java",
"name": "Launch Current File",
"request": "launch",
"mainClass": "${file}"
}
]
}
Do I need some sort of tasks.json file as well and what should go into it? There are a lot of extensions as well and their tasks and relations are not too clear.
- Debugger for Java (Microsoft)
- Extension Pack for Java (Microsoft)
- Gradle for Java, although I seem to have pom.xml as well? I used "Java: Create Javafx project"
- Jupyter. I am not doing tests, this is a small project
- Language support for Java (Red Hat)
- Maven for Java (Microsoft)
- Project Manager for Java (Microsoft)
On the left bottom corner, on the tab "Run configuration", all values seem to have values. Should they be set and how?
Have tried:
- Restarting VSC - no change, stuck on "Compiling ..."
Anything more I should try?