Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-29-2002, 05:22 PM
|
#1
|
LQ Newbie
Registered: Nov 2002
Posts: 16
Rep:
|
Java applets run fine in Konqueror, but won't run in MS IE.
I am writing some Java applets for my friend. They run fine, when I view a page, which contains them, in Konqueror (or Mozilla) on Linux. However, my friend uses Windows 2000 and on his computer the applet does not want to run. Internet Explorer (we have enabled Java in options) reports something like: "Class foo not found", but there is foo.class file in the same directory as the HTML file, which loads fine into IE. I know this is LinuxQuestions, but I would really like to help my friend and I would really appreciate any help from you. Thanx.
BTW, I am using JRE and JDK from www.blackdown.org on my Linux computer.
Last edited by OAnimal; 11-29-2002 at 05:26 PM.
|
|
|
11-29-2002, 08:08 PM
|
#2
|
Member
Registered: Oct 2002
Posts: 138
Rep:
|
It is a while since I have done anything with java applets, could you paste bit of the html file which calls the class file ?
BTW What JRE/JDK are you running on the MS-Windows machine?
|
|
|
11-30-2002, 04:03 AM
|
#3
|
LQ Newbie
Registered: Nov 2002
Posts: 16
Original Poster
Rep:
|
OK, here is the code:
<APPLET CODE="textScroll.class" WIDTH=800 HEIGHT=40>
<PARAM NAME=MESSAGE VALUE="SomeText...">
<PARAM NAME=BACKGROUND VALUE=0xFFFFFF>
<PARAM NAME=TEXTCOLOR VALUE=0x80FF80>
</APPLET>
I am not sure which JRE is used on Windows machine. I guess the one that comes bundled with IE on Windows 2000.
Regards.
Last edited by OAnimal; 11-30-2002 at 04:05 AM.
|
|
|
12-02-2002, 12:04 PM
|
#4
|
Member
Registered: Oct 2002
Posts: 138
Rep:
|
I believe it is case sensitive, so all I can think is to make sure it is the same case (I would make it all lower case to safe). MS-Windows can do silly things with regards the case of file names.
|
|
|
12-03-2002, 07:33 AM
|
#5
|
LQ Newbie
Registered: Nov 2002
Posts: 16
Original Poster
Rep:
|
Thanks for the tip, but changing the characters of all the names to lower case does not change the situation.
|
|
|
12-04-2002, 03:24 AM
|
#6
|
LQ Newbie
Registered: Dec 2002
Posts: 9
Rep:
|
grab the JRE from SUN, install it on your windows 2000 PC, it should replace the default VM for IE.
Payback
|
|
|
12-04-2002, 05:35 AM
|
#7
|
LQ Newbie
Registered: Nov 2002
Posts: 16
Original Poster
Rep:
|
OK, that would be one solution, but what if I want to make it available for public? Not everybody will grab JRE from Sun and install it, just to run my applet...
|
|
|
12-04-2002, 06:32 AM
|
#8
|
LQ Newbie
Registered: Nov 2002
Posts: 16
Original Poster
Rep:
|
I just found out, that the applet works well on Windows XP and does not on Windows 2000. So it's really a JRE issue after all. Windows sucks.  
|
|
|
All times are GMT -5. The time now is 05:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|