Click here to register.

Java Applet Troubleshooting Guide

The VoxForge Speech Submission Application requires the following:

  1. Java version 1.5 or greater;
  2. Java enabled in your browser;
  3. If you are using a Linux that has an open source Java that does not support signed applets (e.g. OpenJDK or IceTea), then you need Sun's JRE (Java Runtime Environment);
  4. Special Java configurations if running behind a proxy server (see below for instructions); and
  5. Special setup for USB microphones (see below).

How to determine if Java is installed on your PC

If Java is working properly on your browser you will see a grey rectangle below this paragraph with one line of text that says something like "Java Version 1.5.0_12 from Sun Microsystems Inc.":


 

symptom: you see text stating something like: "Browser has Java disabled"

problem: the Java Run-time Environment ("JRE") is installed on your computer, but it is disabled in your web browser

solution: Click one of these links for information on how to enable Java in your browser:

You might also need to Clear your Web Browser Cache to get Java to work in your browser.

symptom: you see the outline of a white box with no text in it

problem: Java is not Installed on your computer

solution: Go to Sun's Verify your Java Installation and follow the instructions on the page to install Java onto your computer.

Windows

Linux

symptom: you see a grey box with no text in it

Problem: Older version of Java.

Solution: Go to Sun's Verify your Java Installation and follow the instructions on the page to upgrade the version of Java on your computer.

Other Problems

symptom: can't see the waveform display on Java applet

Problem: Zoom settings in browser window are incorrectly set.

Solution: FireFox: View > Zoom: click "Zoom in" until waveform display is visible (can also use your mouse wheel to change zoom settings).

Proxy Servers

If your browser is behind a proxy server, please set up your Java JRE as follows: 

USB Microphones

The Speech Submission applet assumes that you will connect to your default audio source.  If your computer has an analog microphone jack (on your motherboard or on an audio card) it assumes that this is your default audio source, even if you plug in a USB microphone (it basically ignores the audio from your USB microphone).  The Speech Submission app currently has no way to change the audio source (yet..).

Possible approaches to correct this:

Other Resources


Comments

Click the 'Add' link to add a comment to this page; click the 'Read More' link to view replies to a posted comment.

AddSearch

uploading never finishes
By mdeisher - 10/6/2008 - 10 Replies

The java applet seems to behave just fine (recording and playback work) but when I upload the result, the "Uploading..." message is displayed and it never completes.  I waited about 20 minutes.  Suggest that you add a progress meter or some way to confirm that the upload is happening.  Also suggest you add the capability to save the zip file locally so that the recordings are not lost and can be sent it manually.

If you get a blank page where java applet should be...
By kmaclean - 8/28/2008

Sometimes, if you are switching from one language to another for example, the Java applet goes blank.  To fix this, open your Java console, and press 'x' to "clear classloader cache" and then click refresh on your browser. 

This has the same effect as closing all your browser windows and restarting your browser and going back to the Speech Submission applet on the Read page.

Speech Submission Java applet and OpenJDK
By kmaclean - 7/8/2008 - 1 Replies

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.