Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2015 23:47:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198021] net/serviio: Export a JAVA_VERSION to handle with multiple Java versions installed
Message-ID:  <bug-198021-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: jason.unovitch@gmail.com
          Assignee: netchild@FreeBSD.org
             Flags: maintainer-feedback?(netchild@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@FreeBSD.org> ---
Auto-assigned to maintainer netchild@FreeBSD.org

-- 
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-198021-13>