-
Bug
-
Resolution: Incomplete
-
P4
-
None
-
21.0.1
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
64-bit operating system, x64-based processor , Windows 11, java 21.0.1 , Java(TM) SE Runtime Environment
A DESCRIPTION OF THE PROBLEM :
Dear Oracle Support Team,
I am writing to report a persistent issue I am facing when attempting to run Java programs. Regardless of the code I am executing, the error "Could not find or load main class" is consistently appearing. This error occurs even when executing code that is known to be correct.
Here are the key details of the issue:
- Java version: ["Java 21.0.1"]
- Operating system: ["Windows 11"]
- IDEs/Text Editors used: ["Visual Studio Code, Eclipse,Notepad"]
I have already tried the following troubleshooting steps:
- Reinstalling Java to ensure a clean installation.
- Verifying the code to confirm it is correct.
- Checking system environment variables, such as JAVA_HOME and PATH.
Despite these efforts, the issue persists. I am reaching out to Oracle Support for assistance in diagnosing and resolving this issue.
Please let me know the process to report this issue and any additional information or logs you may require to investigate further.
REGRESSION : Last worked in version 21.0.1
FREQUENCY : always
64-bit operating system, x64-based processor , Windows 11, java 21.0.1 , Java(TM) SE Runtime Environment
A DESCRIPTION OF THE PROBLEM :
Dear Oracle Support Team,
I am writing to report a persistent issue I am facing when attempting to run Java programs. Regardless of the code I am executing, the error "Could not find or load main class" is consistently appearing. This error occurs even when executing code that is known to be correct.
Here are the key details of the issue:
- Java version: ["Java 21.0.1"]
- Operating system: ["Windows 11"]
- IDEs/Text Editors used: ["Visual Studio Code, Eclipse,Notepad"]
I have already tried the following troubleshooting steps:
- Reinstalling Java to ensure a clean installation.
- Verifying the code to confirm it is correct.
- Checking system environment variables, such as JAVA_HOME and PATH.
Despite these efforts, the issue persists. I am reaching out to Oracle Support for assistance in diagnosing and resolving this issue.
Please let me know the process to report this issue and any additional information or logs you may require to investigate further.
REGRESSION : Last worked in version 21.0.1
FREQUENCY : always