Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have made a game in Java, and I want to upload it to my Weebly site. I have tested it with WAMP, and the index.html works well. But when I upload all the archives and the .jar to my Weebly site (it's possible to create a folder there?), and then I use the Custom HTML Element feature to embed the code, it just doesn't work.

<applet code="org.lwjgl.util.applet.AppletLoader"
        archive="lwjgl_util_applet.jar, lzma.jar"
        codebase="./mygamelib/"
        width="600" height="300">

  <param name="al_title"
         value="MyGame">

  <param name="al_main"
         value="org.newdawn.slick.AppletGameContainer">
  <param name="game"
         value="org.myorg.mygame.MyGame">

  <param name="al_progressbar"
         value="appletprogress.gif">

  <param name="al_jars"
         value="slick.jar, mygame.jar, lwjgl.jar.pack.lzma, jinput.jar.pack.lzma, lwjgl_util.jar.pack.lzma">

  <param name="al_windows"
         value="windows_natives.jar.lzma">

  <param name="al_linux"
         value="linux_natives.jar.lzma">

  <param name="al_mac"
         value="macosx_natives.jar.lzma">

  <param name="al_solaris"
         value="solaris_natives.jar.lzma">

 </applet>
share|improve this question
    
Check this tutorial. (I don’t know if it works or not, so I won’t put it as an answer.) –  Alex Jun 10 '12 at 16:09
    
See this video tutorial as well. –  Alex Jun 10 '12 at 16:09
    
Alex, Thanks for your answer. I followed the steps in the second video, but the problem is that I don't want to upload a single .class file, but some .jar. –  kirchhoff Jun 10 '12 at 18:56
add comment

1 Answer 1

the best tutorial I found was here: java-gaming.org It was really helpful. :D

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.