• Hi,
    So I made a little game in Java using the Slick library and I wanted to post it on a new page on my site. I wrote some HTML code for it and the lwjgl has an AppletLoader class built in so it should be easy. Here is my HTML below

    <applet code="org.lwjgl.util.applet.AppletLoader"
            archive="lwjgl_util_applet.jar"
            codebase="."
            width="800" height="600">
    
      <param name="al_title" value="myslickgame">
      <param name="al_main" value="org.newdawn.slick.AppletGameContainer">
      <param name="game" value="org.defaultpackage.main">
    
      <param name="al_jars" value="spacewalk.jar, lwjgl.jar, slick.jar"> 
    
      <param name="al_windows" value="windows_natives.jar">
      <param name="al_linux" value="linux_natives.jar">
      <param name="al_mac" value="macosx_natives.jar"> 
    
      <param name="separate_jvm" value="true">
    </applet>

    However, on my page I receive an error when I load the applet saying the lwjgl file isn’t there. Which is not surprising, because it isn’t. I have no idea where to upload my JAR file in a location where the page could read it. I looked through my file manager in C-Panel and couldn’t find a location that worked so is there a way to do this through wordpress? Any help is appreciated. Oh, and yes I download the Java applet plugin

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Running a Java game in my wordpress site?’ is closed to new replies.