formulahendry / formulahendry/vscode-code-runner
I am unable to run java code,gives me an error even if none exists.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 351
- PR merge metrics
- No merged PRs in 30d
Description
- VS Code Version:1.64.2
- OS Version:12.2.1
- Code Runner Version:0.11.7
**Describe the bug**
I am unable to run java programs gives me an error->(wrong name: filename)Error: Could not find or load main class romantointeger. But the code runs normally on other IDEs.
**To Reproduce**
Steps to reproduce the behavior:
1. Right-click, run code, and the error is displayed in the terminal.
**Screenshots**
Using VSCode inbuilt compiler it works👆🏻.
But when I click run code,it throws an error something like this.

Contributor guide
No contributing guide indexed for this repository
Research direction
No file, test, or code entry point is named. Start by reproducing the failure with VS Code 1.64.2, Code Runner 0.11.7, and the reported Java program, then compare the Code Runner terminal invocation with VS Code's built-in Java run; done means the same program runs through Code Runner without the reported class-loading error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100