Pycharm Community Edition has Linkage Errors that have to do with Java
Is this a new report?
Yes
System Info
Void 6.11.0_1 x86_64 AuthenticAMD uptodate rrrmmnFFFF
Package(s) Affected
pycharm-community-2024.2.1_1
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
It's supposed the launch the pycharm community edition
Actual behaviour
when you run it, it exits with the following error: 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
Steps to reproduce
- Install the package
- Run it
Does this fix solve your problem? https://github.com/void-linux/void-packages/issues/52122#issue-2508232649
Ah it does, sorry for not looking deep enough. Although what I did was installing openjdk21 and adjusting the version with xbps-alternatives, same thing at the end.
@Eloitor did you even test #52060 (created on Sep 2)? judging by #52122 (merged on Sep 5), you didn't.
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
openjdk11 is too old for pycharm-community, it requires at least openjdk17.
I did, but I fixed the openjdk issue "manually". I thought "virtual?java-environment" mean I don't have to deal with version number...