Solved

JAR  -Problem

Posted on 2000-05-17
3
284 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
micro services vs rest web services 16 84
Problem to start Neon 20 84
Java - Why doesn't this JFrame work 3 41
factorial example 4 34
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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 will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

911 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

19 Experts available now in Live!

Get 1:1 Help Now