树莓派无法运行pycharm

BZME 5cm2023-04-04913 次点击
在树莓派运行pycharm(按照步骤已安装jre以及安装pycharm的相关操作),但是最后在终端窗口运行pycharm.sh文件,却无法正常调用pycharm,并出现以下问题,该如何解决呢?

CompileCommand: exclude com/intellij/openapi/vfs/impl/FilePartNodeRoot.trieDescend
Error occurred during initialization of VM
java.lang.UnsupportedClassVersionError: com/intellij/util/lang/PathClassLoader 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
at java.lang.ClassLoader.defineClass1(java.base@11.0.18/Native Method)
at java.lang.ClassLoader.defineClass(java.base@11.0.18/ClassLoader.java:1017)
at java.security.SecureClassLoader.defineClass(java.base@11.0.18/SecureClassLoader.java:174)
at jdk.internal.loader.BuiltinClassLoader.defineClass(java.base@11.0.18/BuiltinClassLoader.java:800)
at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@11.0.18/BuiltinClassLoader.java:698)
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@11.0.18/BuiltinClassLoader.java:621)
at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@11.0.18/BuiltinClassLoader.java:579)
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@11.0.18/ClassLoaders.java:178)
at java.lang.ClassLoader.loadClass(java.base@11.0.18/ClassLoader.java:522)
at java.lang.Class.forName0(java.base@11.0.18/Native Method)
at java.lang.Class.forName(java.base@11.0.18/Class.java:398)
at java.lang.ClassLoader.initSystemClassLoader(java.base@11.0.18/ClassLoader.java:1976)
at java.lang.System.initPhase3(java.base@11.0.18/System.java:2074)
收藏 ♥ 感谢
Tony 220.1m 2023-04-04  ♥ 1
可能与jre版本有关,可安装其他版本的jre看看能否运行
如果 OpenJDK 不行的话换 Oracle JDK 试试

登录注册 后可回复。




› 相关内容关注微信公众号