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
Solved

JAR  -Problem

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
web services creation SOAP vs REST 5 56
more than one jdk and one jre 1 50
javap not working 8 58
eclipse console opening separately 2 29
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

856 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