3 Replies Latest reply: Nov 12, 2012 8:13 AM by 973768 RSS

    MediaPlayer broken with Java SE 7 Update 9

    973768
      Me and a few others are working on a project together that contains a MediaPlayer/MediaView.
      After updating to the latest version of Java the MediaPlayer/MediaView stopped working in browsers.
      Is there anyway to fix this or is this a problem with Java itself?
        • 1. Re: MediaPlayer broken with Java SE 7 Update 9
          gimbal2
          Hard to say when you don't provide any specfics at all other than "it doesn't work". You must be getting an error somewhere.
          • 2. Re: MediaPlayer broken with Java SE 7 Update 9
            973768
            Oh sorry you're right.
            The only thing that gives anything resembling an error is the console and it lists this
            basic: Applet started
            basic: Told clients applet is started
            basic: JNLP2ClassLoader.findClass: quebblepromo.XMLParser: try again ..
            network: Cache entry not found [url: file:/C:/Users/Administrator/Documents/QuebblePromo/dist/, version: null]
            cache: Closing CachedJarFile C:\Users\Administrator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\20\28f78ed4-414c25f7
            basic: JNLP2ClassLoader.findClass: quebblepromo.ButtonEvt: try again ..
            basic: JNLP2ClassLoader.findClass: quebblepromo.QuebblePromo$1: try again ..
            basic: JNLP2ClassLoader.findClass: quebblepromo.Buttons: try again ..
            basic: JNLP2ClassLoader.findClass: quebblepromo.Buttons$1: try again ..
            cache: MemoryCache: removed entry file:/C:/Users/Administrator/Documents/QuebblePromo/dist/QuebblePromo.jar
            cache: Closing CachedJarFile C:\Users\Administrator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\20\28f78ed4-414c25f7
            network: Connecting http://49583.ict-lab.nl/Film/test10.mp4 with proxy=DIRECT
            network: Connecting http://49583.ict-lab.nl:80/ with proxy=DIRECT
            network: Cache entry not found [url: http://49583.ict-lab.nl/Film/test10.mp4, version: null]
            network: Connecting http://49583.ict-lab.nl/Film/test10.mp4 with proxy=DIRECT
            basic: JNLP2ClassLoader.findClass: quebblepromo.Buttons$2: try again ..
            We dug some further and managed to print this error that the mediaplayer spits out
            MediaException: UNKNOWN : access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
            Well that was kind of annoying, after the whole shebang with security issues, apparently you need unrestricted access so changing the applet in a signed application fixed everything.

            Edited by: 970765 on 12-nov-2012 3:58

            Edited by: 970765 on 12-nov-2012 5:38

            Edited by: 970765 on 12-nov-2012 6:11
            • 3. Re: MediaPlayer broken with Java SE 7 Update 9
              973768
              Problem fixed after making applet ask for unrestricted access.