
Project Structure -> Platform Settings -> SDKs:.Project Structure -> Project Settings -> Modules:.Project Structure -> Project Settings -> Project:.Java HotSpot(TM) 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing) Java(TM) SE Runtime Environment (build 18.0.1.1+2-6) I had project settings regarding to Java 18: This version of the Java Runtime only recognizes class file versions up to 61.0Īfter upgrading the project from Java 17 to Java 18.

Has been compiled by a more recent version of the Java Runtime (class file version 62.0),


I've reproduced on Windows 10 the similar issue in format like: Error: LinkageError occurred while loading main class.
