Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879071 - dev-util/pycharm-community USE="-bundled-jdk" does not delete the bundled jre
Summary: dev-util/pycharm-community USE="-bundled-jdk" does not delete the bundled jre
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-01 19:58 UTC by Francois
Modified: 2024-09-12 14:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois 2022-11-01 19:58:29 UTC
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.
Comment 1 Joakim Tjernlund 2024-08-29 17:00:14 UTC
me too, pycharm-community-2024.1.4
Comment 2 Larry the Git Cow gentoo-dev 2024-08-31 13:13:24 UTC
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(+)
Comment 3 Joakim Tjernlund 2024-09-12 14:04:18 UTC
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
Comment 4 Joakim Tjernlund 2024-09-12 14:11:24 UTC
pycharm needs java 17 it seems, I had java 11 as system jdk