Solved

JAR  -Problem

Posted on 2000-05-17
3
283 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Exchange and Third Party application. 8 59
array11 challenge 16 50
where is session ID cache stored 1 38
Problem to start Neon 20 49
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

762 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now