Ticket #397 (closed defect: fixed)

Opened 12 years ago

Last modified 6 years ago

Speech Submission Java applet and OpenJDK

Reported by: kmaclean Owned by: kmaclean
Priority: major Milestone: SpeechSubmission 0.1.7
Component: SpeechSubmission Version: SpeechSubmission0.1.4
Keywords: Cc:

Description

The VoxForge? Speech Submission applet is a signed Java applet. Unfortunately, OpenJDK's (free implementation of Sun's Java run-time environment) browser plugin, gcjwebplugin, does not yet support signed plugins.

From the Fedora Project Wiki:

Handling Java Applets

Upstream OpenJDK does not provide a plugin. The Fedora OpenJDK packages include an adaptation of gcjwebplugin, that runs untrusted applets safely in a Web browser. The plugin is packaged as java-1.6.0-openjdk-plugin.

  • ...
  • The gcjwebplugin adaptation does not support signed applets . Signed applets will run in untrusted mode. Experimental support for signed applets is present in the IcedTea? repository, but it is not ready for deployment in Fedora.
  • The gcjwebplugin security policy may be too restrictive. To enable restricted applets, run the firefox -g command in a terminal window to see what is being restricted, and then grant the restricted permission in the /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/security/java.policy file.

Therefore, the Speech Submission app will not run with OpenJDK. You will need to download a current version of Sun's Java run-time environment and link it to your browser using the instructions on Sun's site.

Change History

comment:2 Changed 11 years ago by kmaclean

See this link: Hardy Voxforge applet only shows grey box

Matti Lindell wrote on 2008-03-24:

Confirming, sun-java6-plugin prompts user to validate the applet certificate (and the applet works), but icedtea-gcjwebplugin (1.0-0ubuntu3) doesn't and fails with:

Unable to create temp directory
java.lang.SecurityException: Unable to create temporary file
Unable to create WAV cache file for storing audio
java.security.AccessControlException: access denied (java.io.FilePermission nullwavFile1.wav delete)

icedtea-gcjwebplugin install through firefox is tracked in bug #177514 assigned against ubufox package. The bug title is bit misleading though.

Matthias Klose wrote on 2008-10-09:

works with icedtea6-plugin in the openjdk PPA (and the ca-certficates-java package installed)

Matthias Klose wrote on 2008-10-13:

fixed in 6b12~pre2

Changed in openjdk-6:
status: 	New → Fix Released 

comment:3 Changed 6 years ago by kmaclean

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.