Java Applet Troubleshooting Guide
The VoxForge Speech Submission Application requires the following:
Java version 1.5 or greater;
Java enabled in your browser;
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); Special Java configurations if running behind a proxy server (see below for instructions); and
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
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
Use your distro's Java (OpenJDK)
Use Sun's Java
Internet Explorer - Sun's Java download will automatically configure IE for Java.
- You need to click the white box or click the "missing plugins" button
at the top right-hand corner of the page. FireFox will guide you to
download a Java Run-time environment for you PC.
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:
the JRE control panel:
Windows: located in system control
panel under Java (Start>Control Panel>Java - If this isn't
visible, ensure you're using "Classic View", and not "Category View");
located in System>Preferences>Java (or execute jcontrol from the command line);
the "General" tab, then click the "Network Settings..." button.
Enter proxy settings as directed by your local system
Restart your web browser.
Linux and USB Microphones
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:
System > Preferences > Sound
click the 'Input' tab to 'choose a device for sound input'
select your USB device
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:
Disable your motherboard's microphone jack (or the audio card itself) in your system bios (this changed on the menu you can select when your computer first starts up);
Remove your audio card; or
Modify the sound.properties file in the JRE\lib directory of your JDK
Click the 'Add' link to add a comment to this page; click the 'Read More' link to view replies to a posted comment.
SOLVED: Problems with Java 6 Update 16 and greater on Fedora 12 and Ubuntu 10.04
- 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:22.214.171.124-33.b16.fc12 ).
As a workaround, you will need to install Sun's Java:
more on usb mics
Java security error
- 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
The message: "Browser has Java disabled" may be the result of Java and your browser plugin not being installed:
OpenJDK Java 6 Runtime
icedTea Java Plugin
OpenJDK Runtime Environment (1.6.0)
OpenJDK Web Browser Plugin
uploading never finishes
- 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
Robert (Jamie) Munro
- 6 Replies
I'm getting the 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/193I can't see how to get a trac login and reopen that ticket.
- 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".
might be wrong?
I am using Russian version of the aplet
my computer is Ubuntu 7.10, kernel 126.96.36.199-generic, GNOME 2.20.1,
Memory 2GB, CPU AMD X2 Dual Core BE-2400
recent Java gives empty grey box
- 4 Replies
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.)