microsoft / microsoft/vscode-java-debug

Run action hangs at "Resolving main class..." with no further response

Open
#1,658 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged bug
Dominant language
TypeScript
Stars
591
Forks
429
Avg merge
1d 9h
Merged PRs (30d)
19

Description

When I click the Run button, a "Resolving main class..." popup appears but nothing happens afterward. Clicking Run again does not trigger the popup, and the IDE becomes completely unresponsive. The only workaround is to reload the window.

Crucial Clue:
This issue only occurs when the project uses JDK 1.8. When I switch the project which use JDK 21, the run action works perfectly.

VS Code version:1.130.0
OS: Windows/WSL2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Run-button hang in a VS Code Java project using JDK 1.8 on Windows/WSL2, then compare it with the same action under JDK 21. Start at the “Resolving main class...” step and verify that Run completes without freezing the IDE or requiring a window reload.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.