Created attachment 153490 [details] Patch to export JAVA_VERSION in serviiod script and bump PORTREVISION I missed this case when updating Serviio. When multiple Java versions are installed, the javavm program will use the current default of OpenJDK7 which is unsupported with Serviio. FreeBSD Forum thread issue: https://forums.freebsd.org/threads/net-serviio-not-using-openjdk8.50507/ Log Message Pre-patch: Exception in thread "main" java.lang.UnsupportedClassVersionError: org/serviio/MediaServer : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) 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)
Auto-assigned to maintainer netchild@FreeBSD.org
Created attachment 153491 [details] Poudriere bulk -t log for serviio-1.5_1 patch
A commit references this bug: Author: netchild Date: Fri Mar 13 10:24:45 UTC 2015 New revision: 381171 URL: https://svnweb.freebsd.org/changeset/ports/381171 Log: - Update to 1.5.1 (automatic library updates can be enabled again) - Fix problems when more than one JVM is installed [1] PR: 198021 [1] Noticed by: jason.unovitch@gmail.com [1] Changes: head/UPDATING head/net/serviio/Makefile head/net/serviio/distinfo head/net/serviio/files/serviiod.in
JVM fix included in the update to 1.5.1.