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'

オープン
#2,013 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

compile
主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

[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
  1. [step 1]
  2. [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 .

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ソースファイル、テスト、ログ、サンプルプロジェクトは提供されておらず、issue template では、Java の実行またはデバッグに関する質問は vscode-java-debug に案内するよう指示されています。まず Windows 10、JDK 16.0.1、および提供された jar を使い、--enable-preview を付けた場合と付けない場合の両方で、そこで問題を検証してください。完了とみなすには、コンポーネントと期待される動作が定義された再現可能な報告が必要です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, vscode
領域
devtools
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
10/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。