Created attachment 176226 [details] graphics/yed: update to 3.16.2.1 and fix for Unsupported major.minor version 52.0 Started from this version, yed can not handle with jre < 8 and requires an installed Java 8 JRE: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/yworks/A/B : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:803) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482) When installed both 7/8 runtime environment, JAVA_HOME return by default /usr/local/openjdk7, so, I could not find a better solution other than hardcode path to openjdk8.
Comment on attachment 176226 [details] graphics/yed: update to 3.16.2.1 and fix for Unsupported major.minor version 52.0 I approve this patch.
I'll take it.
A commit references this bug: Author: vg Date: Fri Nov 18 15:47:06 UTC 2016 New revision: 426328 URL: https://svnweb.freebsd.org/changeset/ports/426328 Log: - Update to 3.16.2.1 - Fix unsupported major.minor version 52.0 PR: ports/213839 Submitted by: olevole@olevole.ru Approved by: Eugene Mychlo <myc@barev.net> (maintainer) Changes: head/graphics/yed/Makefile head/graphics/yed/distinfo head/graphics/yed/files/yed.in head/graphics/yed/pkg-plist
Committed, thank you!