Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

JAR  -Problem

Posted on 2000-05-17
3
Medium Priority
?
298 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
[X]
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 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 20 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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

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 make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

670 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