redhat-developer / redhat-developer/vscode-java
LinkageError occurred while loading main class Jobship java.lang.UnsupportedClassVersionError: Preview features are not enabled for Jobship (class file version 60.65535). Try running with '--enable-preview'
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
[provide a description of the issue]
Environment
- Operating System: windows 10
- JDK version:16.0.1
- Visual Studio Code version: 1.57.1
- Java extension version:
Steps To Reproduce
- [step 1]
- [step 2]
[Please attach a sample project reproducing the error]
Please attach logs
Current Result Linkage Error will only run with --enable-preview it is a jar file
Expected Result : it should run the program
Additional Information;
I'm having issue with my jar file of which I want to create a .exe file but my jar file won't open directly i have to run the command every time I want to open it
and hence due to this exe file also won't open .
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, logs, or sample project is provided, and the issue template directs running or debugging Java questions to vscode-java-debug. First verify the problem there using Windows 10, JDK 16.0.1, and the supplied jar with and without --enable-preview. Done requires a reproducible report with a defined component and expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 10/100