homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Embedding a java applet
all I have is a .jar file, don't know how to embed it

5+ Year Member

Msg#: 4133035 posted 1:38 am on May 15, 2010 (gmt 0)

Hey all,

I've come across a java applet which I want embed into a webpage, but there was no demo and no instructions for embedding it. It consists of a single jar file (named Captor.jar), and no class file. I've never dealt with just a jar file before, and I can't get it working. I've tried many different things using this kind of HTML:

<applet code=Captor.jar name=Captor archive=Captor.jar width=300 height=300>

Can someone please explain to me how to embed this into a webpage?



I just figured out that .jar files can be unzipped. Here's what I got when I unzipped it:


Now I have a class file to work with, but I still haven't been able to get the HTML right. Am I even supposed to decompress the jar file? Or what? It seems like a simple thing to do, but oddly I can't find any simple, clear, step-by-step tutorials on how to do this, so I'm lost. Any help would be greatly appreciated.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved