Even with USE="-bundled-jdk" the bundled java runtime is installed. I've only tested it on dev-util/pycharm-community-2022.2.3 .Pycharm professional could face the same problem. I've fixed it buy changing "${JRE_DIR}" to "${D}/${DIR}/${JRE_DIR}" in src_install on its ebuild file.
me too, pycharm-community-2024.1.4
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28957eebff57c09772ffa5e9c64f32bfe35e3c94 commit 28957eebff57c09772ffa5e9c64f32bfe35e3c94 Author: Andrey Grozin <grozin@gentoo.org> AuthorDate: 2024-08-31 13:11:56 +0000 Commit: Andrey Grozin <grozin@gentoo.org> CommitDate: 2024-08-31 13:12:27 +0000 dev-util/pycharm-community: bump to 2024.2.1 Closes: https://bugs.gentoo.org/879071 Signed-off-by: Andrey Grozin <grozin@gentoo.org> dev-util/pycharm-community/Manifest | 2 + .../pycharm-community-2024.2.1.ebuild | 126 +++++++++++++++++++++ 2 files changed, 128 insertions(+)
dev-util/pycharm-community-2024.2.1 USE="-bundled-jdk*" now gives me: # > pycharm-community 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 Exception in thread "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 at java.base/java.lang.ClassLoader.defineClass2(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1114) at com.intellij.util.lang.UrlClassLoader.consumeClassData(UrlClassLoader.java:276) at com.intellij.util.lang.ZipResourceFile.findClass(ZipResourceFile.java:115) at com.intellij.util.lang.JarLoader.findClass(JarLoader.java:58) at com.intellij.util.lang.ClassPath.findClassInLoader(ClassPath.java:240) at com.intellij.util.lang.ClassPath.findClassWithoutCache(ClassPath.java:229) at com.intellij.util.lang.ClassPath.findClass(ClassPath.java:212) at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:227) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:594) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527) 62 [ERROR] xplat_launcher::java: [JVM] main method failed: Java exception was thrown
pycharm needs java 17 it seems, I had java 11 as system jdk