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 Linux 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 browse, or you don't have a java plugin installed in your browser

solution:

1. To enable Java in your browser, click one of these links:

2. To install a java plugin 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 compute

solution:

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: 

Linux and USB Microphones

The USB microphone problems might be fixed in the newest Fedora 12 (i686) release... see this video:

voxforge works on fedora12 and firefox.ogv.flv

The Speech Submission applet assumes that you will use your default audio source.  On Fedora 12, you can set your default audio source for your USB microphone in your Sound Preferences:

In older Linux distributions, if your computer had an analog microphone jack (on your motherboard or on an audio card) the distro assumed that this was your default audio source, even if you plugged in a USB microphone (it basically ignores the audio from your USB microphone).  The easiest way to fix this is to upgrade to the newest stable distro.

If you do not want to upgrade your distro, here are some possible approaches that might 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

SOLVED: Problems with Java 6 Update 16 and greater on Fedora 12 and Ubuntu 10.04
By kmaclean - 6/14/2010 - 3 Replies

The speechsubmission applet does not seem to work with newer versions of the OpenJDK (see this bug report [Bug 540962] [abrt] crash detected in java-1.6.0-openjdk-1:1.6.0.0-33.b16.fc12 ).

As a workaround, you will need to install Sun's Java:

more on usb mics
By kmaclean - 10/31/2010

more info here: Playing with Webcam USB mic

Java security error
By Jeevesbond - 8/22/2010 - 8 Replies

The Java applet generated a security error for me: 'access denied (javax.sound.sampled.AudioPermission record)'.

Unfortunately I lacked more than five minutes to try and fix the issue, so gave up trying.

Linux: Browser has Java disabled
By kmaclean - 5/8/2010

The message: "Browser has Java disabled" may be the result of Java and your browser plugin not being installed:

  • Ubuntu install:
    • OpenJDK Java 6 Runtime
    • icedTea Java Plugin
  • Fedora
    • OpenJDK Runtime Environment (1.6.0)
    • OpenJDK Web Browser Plugin

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.

Error on Mac OS X
By Robert (Jamie) Munro - 4/30/2008 - 6 Replies

I'm getting the error:
ERROR Line matching interface TargetDataLine supporting format PCM_SIGNED, 48000.0 Hz, 16 bit, mono, little-endian not supported.
in the area where the waveform should appear, on "Java Version: 1.5.0_13 from Apple Computer, Inc."

This is almost the same error as this trac ticket: http://www.dev.voxforge.org/projects/Main/ticket/193

I can't see how to get a trac login and reopen that ticket.

No sound
By Sergey - 4/29/2008 - 19 Replies

I have got a studio quality USB microphone "Snowball" but when I try to record my voice using the applet it records silence. I tested the microphone in Audacity - it works (though I need to adjust the sample rate) and my java seems to be good: java version "1.6.0_03".

What might be wrong?

 

P.S. I am using Russian version of the aplet http://www.voxforge.org/ru/read

and my computer is Ubuntu 7.10, kernel 2.6.22.14-generic, GNOME 2.20.1, Memory 2GB, CPU AMD X2 Dual Core BE-2400 

Thanks a lot,

--Sergey

 

recent Java gives empty grey box
By V - 3/16/2008 - 4 Replies

Hi!

According to every java testing site I have Java 1.7 properly installed, still I see only an empty grey box  on the Troubleshooting page. (And can't find the applet in general.)