Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've installed Java on Firefox and it works fine, except in applets that require keyboard input. The key one for me is GoToMyPC - when it gets to the "login to your PC" dialog I can't type a password. However I have tried other applets - for example:
Try clicking on the titlebar. That helps sometimes. I notice I get something like that whenever the java runtime enviroment gets loaded and it seems to take focus away from the window that should have it,
Hi! Thanks very much for your response. Unfortunately - that's not the problem. I've tried focusing the browser window, clicking on the java applet, clicking lots on the text box itself, and still nothing. It just don't work! :-( I think that since this doesn't seem like a common problem I'm going to try uninstalling the J2RE 1.5.0 and re-installing it. Maybe my Java installation is corrupt. If it works, I'll let you know!
I had this problem with the Java applet my online bank used to use. The workaround was to keep pressing TAB (or Shift-TAB) until the keyboard focus landed on the field I wanted to type in. Either that, or type the text somewhere else, copy it into the X clipboard, and click the middle mouse button over the required entry field.
Hello! Thanks to both of you for your suggestions. Unfortunately neither worked - I've tried reinstalling the JVM with the latest version from the Sun website but that didn't make a difference. And I think my problem must be different from yours, Nobber, because the Java applet doesn't respond to the Tab button at all - its like my keyboard just doesn't exist. But the applet hasn't frozen - I can still click on stuff with the mouse. I've played around a bit and this seems to happen in all Java applets, not just the GoToMyPC one.
Anyway - I'll have a play around again later, but in case anyone has any further ideas - I'm using a Dell Inspiron 510m laptop (just using the standard laptop keyboard - nothing fancy), and I'm running Fedora Core 3 and Firefox v1.0.3. The Java VM I've got is v1.5.0_01.
Did anybody solve this problem? I am still having this problem. I discovered a site, where an applet had a choice "Float" and it floated the applet and detached from the Firefox. There keyboard input works just fine. My system is FC3 with all the lates updates applied. JRE1.5, Firefox-1.0.3.
export LANG=UTF-8 in terminal before starting firefox solved keyboard entry problem in Java Applet. My default was LANG=en_US.UTF-8. But Firefox still has some problems with "Designed for Windows" stupid sites with JavaScripts. I can't enter from keyboard, but cutting-pasting with mouse work just fine. Try entering anything on the left side of the screen on this site. http://www.sz1860.com.
First, for those who are replying about keyboard input into a webpage that happens to have an applet in it, you are completely missing the issue. The issue is keyboard input INSIDE the applet. It is a problem with Firefox (any version) and Java 1.5. If you remove the 1.5 version of Java and install 1.4, the problem goes away. Firefox developers claim that this problem doesn't exist. Java developers claim that it doesn't exist. So, I seriously doubt that it will ever get fixed.
Sun for years only tested java for Linux on redhat6
this is what they say for 1.5
Most testing of Java RE for Linux in the English-locale has been conducted on Red Hat 7.2, with kernel patch 2.4.9-31. Most testing in non-English locales has been conducted on Red Hat 7.1. However, Java RE has undergone limited testing on these other Linux operating systems:
* Caldera Open Linux 3.1 (kernel 2.4.2, glibc 2.2.1)
* Turbo Linux 7.0 (kernel 2.2.18, glivc 2.1.x)
* SuSE Linux 7.1 (kernel 2.4, glibc 2.2.14)
* Turbo Linux for Simplified Chinese locale
concequently for anyone using a modern system new java releases are almost always broken in some way
Just to let you know, I've tried the "export LANG=UTF-8" command and it works perfectly, so thanks for that. Its slightly irritating so I hope they do fix the bug, but at least there's a work-around!
export lang=UTF-8 didn't do the trick. My applets kind of work, if I'm quick enough. I can paste into a password field before the dialog is fully loaded; after that all keystrokes just are lost.
In most text fields input isn't registered.
This can depend on SCIM, too. I'm using java-6-sun on Ubuntu 9.04.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.