Solved

JAR  -Problem

Posted on 2000-05-17
3
287 Views
Last Modified: 2010-04-01
hello everybody,

iam using an applet in my project with uses 10 class files for displaying the graph. I used jar in the applet . When i run the applet from the webserver it gives a message  
"class not instantiated". But when i run from my system having IIS-server it is working perfectly.Also it is working in the web when JAR is not used.

Also can anyone tell how to create a jar file for the above more efficently.
0
Comment
Question by:bava_anand
3 Comments
 
LVL 2

Expert Comment

by:AlexJ030200
ID: 2817048
Hi bava_anand,
 
Several IDE's create jars, zips or cabs for you, both for applets and beans.

If your development tool doesn't do that take a look at PowerJ for instance.
http://www.sybase.com/products/powerj/jdk.html
0
 

Accepted Solution

by:
deepakad earned 10 total points
ID: 2828347
Try to put all  the class file  n the jar file on the server,make sure the in html file jar file is included.I hope this will work.
0
 

Author Comment

by:bava_anand
ID: 2830020
When i put all the class in the jar and included in the html in the server, the applet able to download the jar file but unable to extract the class file saying "class not able to instantiated" in the java console.

But if we does not use JAR and if we use codebase then the applet is working perfectly downloading all the class file needed by it.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…

679 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