Download JAR applet

Posted on 2004-09-17
Last Modified: 2010-04-07

I have created a simple applet - 3 class file as long as an html to invoke it, which seems to work fine. I am now working on the download part, I was able to download the 3 class file and 1 html locally and run from there successfully, but I hope to JAR 3 class file and distribute the JAR along with the HTML. However I had problem after I downloaded the JAR and HTML, "ERror notinit applet". I did some research and found out the JAR has to be signed in order for somebody to use it. Do I have to do it?

I donot want to use ZIP to distribute it since it will require user has WINZIP installed.

Question by:pwang1973
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 53

Accepted Solution

COBOLdinosaur earned 200 total points
ID: 12092492
The signing requirment is necessary to protect users and the networks users are on.  If you are not prepared to work within normal security requirments, then don't development componnents that hae a potential to deliver malicious content.

If you want to do thing right this page fromt eh sin site should help work through the security issues:


Author Comment

ID: 12105150
Thanks for the reply,

howver after I download the .jar and the startup.html, I got a error the applet not inited, it seems that it cannot access the class in the jar file, after I download the class file, everything seems fine. What's happening?


Author Comment

ID: 12106242
Attached the error msg, I put the jar into the same directory of the HTML, however it cannot find.

load: class SpreadSheet.class not found.

java.lang.ClassNotFoundException: SpreadSheet.class

      at sun.applet.AppletClassLoader.findClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.applet.AppletClassLoader.loadClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.applet.AppletClassLoader.loadCode(Unknown Source)

      at sun.applet.AppletPanel.createApplet(Unknown Source)

      at sun.plugin.AppletViewer.createApplet(Unknown Source)

      at sun.applet.AppletPanel.runLoader(Unknown Source)

      at Source)

      at Source)

Author Comment

ID: 12106661
Caused by: d:\ucdg_estim\SpreadSheet\class.class (The system cannot find the path specified)

      at Method)

      at<init>(Unknown Source)

      at<init>(Unknown Source)

      at Source)

      at Source)

      at sun.applet.AppletClassLoader.getBytes(Unknown Source)

      at sun.applet.AppletClassLoader.access$100(Unknown Source)

      at sun.applet.AppletClassLoader$ Source)

      at Method)

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question