LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-29-2002, 06:22 PM   #1
OAnimal
LQ Newbie
 
Registered: Nov 2002
Posts: 16

Rep: Reputation: 0
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 06:26 PM.
 
Old 11-29-2002, 09:08 PM   #2
nonamenobody
Member
 
Registered: Oct 2002
Posts: 138

Rep: Reputation: 22
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?
 
Old 11-30-2002, 05:03 AM   #3
OAnimal
LQ Newbie
 
Registered: Nov 2002
Posts: 16

Original Poster
Rep: Reputation: 0
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 05:05 AM.
 
Old 12-02-2002, 01:04 PM   #4
nonamenobody
Member
 
Registered: Oct 2002
Posts: 138

Rep: Reputation: 22
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.
 
Old 12-03-2002, 08:33 AM   #5
OAnimal
LQ Newbie
 
Registered: Nov 2002
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for the tip, but changing the characters of all the names to lower case does not change the situation.
 
Old 12-04-2002, 04:24 AM   #6
payback
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
grab the JRE from SUN, install it on your windows 2000 PC, it should replace the default VM for IE.

Payback
 
Old 12-04-2002, 06:35 AM   #7
OAnimal
LQ Newbie
 
Registered: Nov 2002
Posts: 16

Original Poster
Rep: Reputation: 0
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...
 
Old 12-04-2002, 07:32 AM   #8
OAnimal
LQ Newbie
 
Registered: Nov 2002
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
icculus.org Duke Nukem 3d: compiles fine but won't run mr.gizm0 Linux - Games 1 04-23-2005 05:03 AM
Java Applets Konqueror Object Tag lel800 Programming 0 12-30-2004 03:40 PM
ET Installed Fine, won't run. delebre Linux - Games 12 09-29-2004 09:54 PM
can't run applets zeviddalop Programming 11 09-24-2004 02:50 AM
Konqueror will not run OrsonMork Linux - Newbie 1 04-19-2002 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration