• Resolved AtheMathmo

    (@athemathmo)


    Hey all,

    I am trying to get an applet to run within a WordPress page, using a .jar archive. Here is the applet code I am using:

    <applet code = "gui.ConverterGUI.class"
        codebase = "https://www.sleepycoding.co.uk/Java/"
        archive = "AConverter.jar"
        width = 800
        height = 600>
        <param name="permissions" value="sandbox" />
    </applet>

    When I attempt to load the applet on that page I get the error: “ClassNotFoundException”. My question is, how should I indicate which location to search for the archive, as what I have above doesn’t work.

    I am also confident that this is not an issue with the applet itself or the archive, as I can get the applet to run in browser by placing the archive and a html file in the root directory for the server.

    https://www.sleepycoding.co.uk/?page_id=24 – here is the webpage with the applet not loading.

    https://www.sleepycoding.co.uk/test.html – here is the page I set up to test the applet.

    (If more information is needed on the applet itself, I also posted this question here: https://stackoverflow.com/questions/27667061/deploying-a-japplet-classnotfoundexception )

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Running Java Applet within WordPress page’ is closed to new replies.