Reputation: 9443
Hello i have a simple program in java using vscode
editor and i am working in Ubuntu 16.04
.
I am using this java-debug extension with command alt + c
to compile and alt + r
to run the compiled program of the selected files.
Compile OK
No output on RUN
Upvotes: 0
Views: 5199
Reputation: 72
Please check if you have added custom task for Java.
Tasks.json
need to be updated.
{
"version": "0.1.0",
"command": "javac",
"showOutput": "always",
"isShellCommand": true,
"args": ["-d","${workspaceRoot}\\build\\classes","${workspaceRoot}\\src\\main\\java\\*.java"]
}
Upvotes: 1