Applet won't work on the Internet, yet it works on my hard drive!!!  
Author Message
gajo





PostPosted: 2004-3-2 4:17:00 Top

java-programmer, Applet won't work on the Internet, yet it works on my hard drive!!! Hi!

I have uploaded this (first in my life) applet on the Internet, along with
the HTML file for its viewing. On my hard drive I've opened the HTML with
Internet Explorer and Opera, and it works ok. Then I uploaded it on the
internet, and when I opened the Web site I got an "Invalid bytecode" message
in Opera. I've contacted the owner of the site and he says he has also
downloaded my html and .class on his hard drive and it ain't working for
him.
So what am I doing wrong? Is it that I have compiled with Java 1.4.1? I've
also uploaded the files on another web space provider, and it didn't work
there either.

This is the url:
http://www.freewebs.com/csabaland/java/pogadjanje_reci.html

You can also download the .class and .java, which is reci.java, and check it
out yourself.

Can someone tell me why isn't this working?

Gajo



 
Andrew Thompson





PostPosted: 2004-3-1 9:15:00 Top

java-programmer >> Applet won't work on the Internet, yet it works on my hard drive!!! On Mon, 1 Mar 2004 21:16:35 +0100, gajo wrote:

> Hi!
>
> I have uploaded this (first in my life)

It's a pity you cannot be
so selective in your
multi-posting. Please do not
multi-post.

I will assume Sudsy's answer on
c.l.j.p solved the problem.

--
Andrew Thompson
* http://www.PhySci.org/ Open-source software suite
* http://www.PhySci.org/codes/ Web & IT Help
* http://www.1point1C.org/ Science & Technology