Date: Mon, 08 Aug 2022 15:04:39 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265719] devel/pycharm-pro: requires JAVA_HOME pointing at a specific java version Message-ID: <bug-265719-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265719 Bug ID: 265719 Summary: devel/pycharm-pro: requires JAVA_HOME pointing at a specific java version Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ehaupt@FreeBSD.org CC: guido@kollerie.com CC: guido@kollerie.com Flags: maintainer-feedback?(guido@kollerie.com) I have both java/openjdk8 and java/openjdk11 installed. When running pycharm-pro I get the following error message: --- error begins here --- Error occurred during initialization of VM java.lang.UnsupportedClassVersionError: com/intellij/util/lang/PathClassLoa= der has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2202) at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2188) at java.security.AccessController.doPrivileged(Native Method) at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:144= 9) at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1429) --- error ends here --- Setting JAVA_HOME to /usr/local/openjdk11 will fix the issue: $ JAVA_HOME=3D/usr/local/openjdk11 pycharm-pro IMHO this should be either handled by a wrapper or at least a pkg-message notice for the user. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265719-7788>