[Bug 198021] net/serviio: Export a JAVA_VERSION to handle with multiple Java versions installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 24 23:47:47 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198021
Bug ID: 198021
Summary: net/serviio: Export a JAVA_VERSION to handle with
multiple Java versions installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: netchild at FreeBSD.org
Reporter: jason.unovitch at gmail.com
Assignee: netchild at FreeBSD.org
Flags: maintainer-feedback?(netchild at FreeBSD.org)
Created attachment 153490
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153490&action=edit
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)
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer netchild at FreeBSD.org
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list