Please help me - Java web app not working...
Hello. I'm trying to convert a game into java. I set the build option to stand-alone java web applet. I then saved it and uploaded it to my site. I copied the html code onto the html page I wanted the game to show up on. If I have done everything correctly, then why won't it show up? Is it just me? Can you see it?
http://www.atomicriot.com/flame.php
For me, it gives an error that is way too long to include in this post. What could the problem be?
I am using MMF build #248 on Windows Vista.
Also, my file browser is telling me that the .jar file is a "text/x-generic" type. I don't know anything about java, but is that right?
Thanks. :)
Re: Please help me - Java web app not working...
It doesn't work for me... You could try to build the Java again.
Are you using any objects in your game?
Re: Please help me - Java web app not working...
Actually it's not my game. Someone asked me to make a version compatible with mac. But anyway...
I've built it several times and have had this same problem. Hmm.
I looked through the .jar file and here's the objects that were used:
CActive.class
CCCA.class
CCounter.class
CExtension.class
CLives.class
CObject.class
CQuestion.class
CRCom.class
CRtf.class
CScore.class
CText.class
I tried building a java app that only contained a backdrop and it DID work.
I did not get any errors saying I used an object not compatible for java upon building the Flame game, though...
Re: Please help me - Java web app not working...
If you can leave the broken one up - when Francois gets a chance he can look at the error messages.
Re: Please help me - Java web app not working...
Could the problem be that the game was made in MMF 1.5? I hope not... :(
Re: Please help me - Java web app not working...
We need Francois to comment and get it fixed as Java is still beta so there is something in this file the Java runtime doesn't like.
Re: Please help me - Java web app not working...
Check your embed code... I was getting this exact same error when I had put the file name in a bit wrong.
Re: Please help me - Java web app not working...
Have you tried your game locally on your machine, by clicking on the html file created by MMF?
If it does not work, please send me the MFA file.