Link to home
Start Free TrialLog in
Avatar of harris9999
harris9999Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Java Applet not workin on web server

Hi,
I have tried to use a java applet on a website.  A small word game.  I have downloaded it and unzipped it and it works fine on my own computer under localhost.
But when I upload it to my web server it won't work.  

Is there anything obvious that I am missing?
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of harris9999

ASKER

mmmm
Exception in thread "Thread-7" java.lang.ArrayIndexOutOfBoundsException: 0
      at KaablitzEv.Lthtl(Unknown Source)
      at KaablitzEv.zzzj(Unknown Source)
      at KaablitzEv.zzzi(Unknown Source)
      at KaablitzEv.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

Not sure what that is.
It's located at: http://antrim.gaa.ie/saffron-og/issue-10/crossword/index.htm
hard to say without having the code which I assume u don't have
No I only have the .class files
But it works fine on http://localhost
Avatar of ebertk
ebertk

I tried the link above and saw a different error that seems to point to an image that might be missing.  Are there any files that were on the lcoalhost that didn't get transferred to the server.  The class files seem to be ok (applet loaded for me and started to run) but failed with a null pointer exception when trying to render an image.
There was no image in the downloaded applet when unzipped.
the image is probably on the web server.
On my web server?
no, the web server you grabbed it from
But it was downloaded as a zipped file, everything should have been in there should it not?
Got it figured out.  I'd never used that java console before and when i run it with different setting displaying everything.  There was an error when loading a .dat file.
So i was thinking maybe that is restricted on my web server.
So I logged into my hosting control panel and under MIME Types I added the .dat extension and it now works.
Thanks for pointing out the Java console for me.