It's a bug in v0.80.0, see this report:
Try to run normal spring boot project on win 10 with JDK 16 It will stuck on 68%
The current useful workaround is installing another version: java-0.80.2 or rolling back to 0.79.2.
Have a try and see if the question goes away.
Answer from Molly Wang-MSFT on Stack OverflowStuck at "Building: 0% [0/1000]" in "Task - Java Build Status"
VSCode Java Extension: how to kill Java Build Status task (frozen at 5%) - Stack Overflow
Java Project Build Stuck at "Synchronizing Projects"
Java running is taking forever to load.
Are you trying to run a standalone Java file (not part of a Java project)? There's a bug in the current version of the Java extension preventing you from running standalone Java files, see redhat-developer/vscode-java#2242. You can either open a Java project with File > Open Folder or upgrade/downgrade the Java extension to a version which doesn't have the bug. If you can't wait for the next update, there's a CI build available which contains the fix.
More on reddit.comI'm new to vs code (and coding and programming too in general) and I have been having this problem while trying to run my programs. Basically, I try to run my code but it is taking forever for it to run, the terminal is not loading and basically, nothing is either, this happened so suddenly so I don't know what caused it. Has anyone gone through something similar or know what to do what I'm referring to?
Are you trying to run a standalone Java file (not part of a Java project)? There's a bug in the current version of the Java extension preventing you from running standalone Java files, see redhat-developer/vscode-java#2242. You can either open a Java project with File > Open Folder or upgrade/downgrade the Java extension to a version which doesn't have the bug. If you can't wait for the next update, there's a CI build available which contains the fix.
Have you download the Java Extension Pack extension
You probably have this Java Red Hat plugin. Switch to pre-release version. It fixes this issue:

I had the same issue. What helped me was modifying .project file in each project.
I added:
buildCommandfororg.eclipse.m2e.core.maven2Builder<nature>org.eclipse.m2e.core.maven2Nature</nature>- whole
<filteredResources>part
I took this from old project that was working :) (don't know why, and where this came from)
Copy<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>devhell-app</name>
<comment>Development Hell Project. NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
<projects/>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
<filteredResources>
<filter>
<id>1730075194951</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>