PhpStorm won't run – UnsupportedClassVersionError
Is Java 11 too old to run PhpStorm, or is there something else going on here? Ubuntu 20.04 is supposedly supported in the PhpStorm system requirements.
PhpStorm-241.18034.69/bin $ ./phpstorm.sh
OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "com.intellij.util.lang.PathClassLoader"). To use archived non-system classes, this property must be not be set
CompileCommand: exclude com/intellij/openapi/vfs/impl/FilePartNodeRoot.trieDescend
Error: LinkageError occurred while loading main class com.intellij.idea.Main
java.lang.UnsupportedClassVersionError: com/intellij/idea/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
$ java --version
openjdk 11.0.23 2024-04-16
OpenJDK Runtime Environment (build 11.0.23+9-post-Ubuntu-1ubuntu120.04.2)
OpenJDK 64-Bit Server VM (build 11.0.23+9-post-Ubuntu-1ubuntu120.04.2, mixed mode, sharing)
请先登录再写评论。
Java 17 is required for this PhpStorm version. See https://intellij-support.jetbrains.com/hc/en-us/articles/206544879 for more details.