Title: Running Java Applet within WordPress page
Last modified: August 22, 2016

---

# Running Java Applet within WordPress page

 *  Resolved [AtheMathmo](https://wordpress.org/support/users/athemathmo/)
 * (@athemathmo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/running-java-applet-within-wordpress-page/)
 * 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 = "http://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.
 * **[http://www.sleepycoding.co.uk/?page_id=24](http://www.sleepycoding.co.uk/?page_id=24)–
   here is the webpage with the applet not loading.**
 * [http://www.sleepycoding.co.uk/test.html](http://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: [http://stackoverflow.com/questions/27667061/deploying-a-japplet-classnotfoundexception](http://stackoverflow.com/questions/27667061/deploying-a-japplet-classnotfoundexception))

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 4 months ago](https://wordpress.org/support/topic/running-java-applet-within-wordpress-page/#post-5621421)
 * Please link to the Webpage with the issue
 *  Thread Starter [AtheMathmo](https://wordpress.org/support/users/athemathmo/)
 * (@athemathmo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/running-java-applet-within-wordpress-page/#post-5621422)
 * [http://www.sleepycoding.co.uk/?page_id=24](http://www.sleepycoding.co.uk/?page_id=24)–
   here is the webpage with the applet not loading.
 * [http://www.sleepycoding.co.uk/test.html](http://www.sleepycoding.co.uk/test.html)–
   here is the page I set up to test the applet.
 * Note that the .jar is self signed so you’ll get a bunch of security errors, I
   promise it’s fine though!
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 4 months ago](https://wordpress.org/support/topic/running-java-applet-within-wordpress-page/#post-5621425)
 * So where are you pasting that HTML?
 *  Thread Starter [AtheMathmo](https://wordpress.org/support/users/athemathmo/)
 * (@athemathmo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/running-java-applet-within-wordpress-page/#post-5621428)
 * You mean the applet code above? I am simply placing it into the text editor built
   into wordpress for that page. Is that an issue?
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 4 months ago](https://wordpress.org/support/topic/running-java-applet-within-wordpress-page/#post-5621429)
 * Yes, are you sure you’re in the “Text” editor and not the “Visual” one?
 *  Thread Starter [AtheMathmo](https://wordpress.org/support/users/athemathmo/)
 * (@athemathmo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/running-java-applet-within-wordpress-page/#post-5621430)
 * Just checked again, I am definitely using the text editor.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 4 months ago](https://wordpress.org/support/topic/running-java-applet-within-wordpress-page/#post-5621431)
 * Try this instead:
 *     ```
       <applet code="gui.ConverterGUI.class" codebase="http://www.sleepycoding.co.uk/Java/" archive="AConverter.jar" width=800 height=600><param name="permissions" value="sandbox" /></applet>
       ```
   
 *  Thread Starter [AtheMathmo](https://wordpress.org/support/users/athemathmo/)
 * (@athemathmo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/running-java-applet-within-wordpress-page/#post-5621435)
 * That looks like it has worked! My internet connection has been playing up so 
   I’m having trouble testing it, the formatting was off when it loaded but it did
   load.
 * Thanks! I’ll try to test it properly and let you know if there are any more problems.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Running Java Applet within WordPress page’ is closed to new replies.

## Tags

 * [applet](https://wordpress.org/support/topic-tag/applet/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [java](https://wordpress.org/support/topic-tag/java/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [AtheMathmo](https://wordpress.org/support/users/athemathmo/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/running-java-applet-within-wordpress-page/#post-5621435)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
