void-linux / void-linux/void-packages

Pycharm Community Edition has Linkage Errors that have to do with Java

Open
#52,350 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

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
  1. Install the package
  2. Run it

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with package pycharm-community-2024.2.1_1 after installation, then inspect how the package selects its Java runtime and compare it with the reported class-file version. Done means the PyCharm Community Edition launches without the UnsupportedClassVersionError.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.