Hi,
I have made a stand-alone internet java applet and if the file is on my computer and I run the html it works, but if I put it on the remote server it doesen't work. Does enyone know what the problem could be?
Printable View
Hi,
I have made a stand-alone internet java applet and if the file is on my computer and I run the html it works, but if I put it on the remote server it doesen't work. Does enyone know what the problem could be?
It could be one of the following things:
- Did you upload both the .html file and the .jar file?
- Have you made sure that the path to the .jar file specified in the .html file is correct?
- Is your server setup to be case-sensitive, which means there would be a difference when trying to reach "yourfile.jar" or "YOURFILE.jar"
- Lastly, the loading time, when running your file on the server could be quite long, say if you file is above 5mb?
If you have a link to you html file online, you could post it, and we could take a look?
It could also be that your web host disallows .jar files. You can test this by attempting to download the .jar file itself instead of using the .html file.
I bealive that all of this was done. The thing is, that I allready uploaded some other .jar files and that they ware working OK. I noticed that I had the same problem in an aplication where I used teh Cursor object. When I used the cursor object the application would display if uploaded from the computer, but not from the server, and when I removed the cursor object it would aslo normaly display from the server. In this case I am not using the coursor object, and the application is very simple although quite big (5,9 mb, but I have a fast conection and was waiting for a long time) so I don't know what the problem coud be.Quote:
- Did you upload both the .html file and the .jar file?
- Have you made sure that the path to the .jar file specified in the .html file is correct?
- Is your server setup to be case-sensitive, which means there would be a difference when trying to reach "yourfile.jar" or "YOURFILE.jar"
- Lastly, the loading time, when running your file on the server could be quite long, say if you file is above 5mb?
You can check it out on here.
It could be that the Cursor Object is not supported in Java, if that is the only application not working right.
Marv
I agree, you are probably using an object which is not supported in Java.
I would have expected it to tell you when you built it to Java...
hmmmm, but how com that this same application works when runed from the computer?If the object is not suportet than shouldn't it not work in both cases, from the computer and from the server?
In this case I am using thee objects, an active object with the race movement, an active pisture and a backdrop, so does anyone know if these are not suported in java mode?
active picture could be the problem...
pnekdo, you are welcome to send me the mfa file I you want to.
If there indeed is a bug present in one of the objects I would like to isolate it and send it off to Francois.
Pneko, upon removing the be active picture object I seem to be able to get it to work.
I have no idea why it would work for you locally though, it didn't for me untill I removed that object.
Apparently that object is not completely javafied still as I see Sarah is also having issues with it:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=156802#Post1572 73
Tell us if removal of the active picture will solve the problem for you too?
Also, another issue could be that your cache is full. If you keep testing a java app in firefox the cache will become full and that game will eventually not load. You need to clear the cache or work around this problem by saving the app under a different name each time you test it in the browser eg. test1.jar, test 2.jar and so forth.
Great, it works :grin: I removed the active object, and it worked :grin: :)thanks!
I bealive that the coursor object is also not completly javafied.