Solved

APPLET PROBLEM

Posted on 1998-05-28
4
175 Views
Last Modified: 2013-11-23
I have used Jbuilder2 to produce an Applet which works when I test it in the environment. However when I try to use the applet within a Web page I get an error.. Applet not Instantiated.
Can anyone help..

R.G.Hurley
0
Comment
Question by:RICHARDH
[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
4 Comments
 
LVL 1

Expert Comment

by:dufort
ID: 1221642
Can you post here the code of the web page which loads the applet?

0
 
LVL 4

Expert Comment

by:evijay
ID: 1221643
See that all the jbuilder classes are extracted and placed in the same directory as the applet code.

0
 
LVL 2

Accepted Solution

by:
aziz061097 earned 20 total points
ID: 1221644
When you run your applet in JBuilder application developement environment (IDE), the JBuilder API classes are included automatically. These JBuilder classes are not present in the standard Java Virtual Machines of the Browsers or the Sun's JVM. For instance, classes like borland.jbcl.* are not a part of Sun's JDK. These JBuilder classes exist in .zip and .jar files in \lib or \jars etc., of JBuilder. To make these available to the browser or Sun's JDK, copy the .zip or .jar files to the directory from which your applet is being launched. Since JBuilder creates a directory/package for every project; you will have to put these .zip or .jar files one directory above the directory containing your .class files. If you are launching your applet through IE, setting the CLASSPATH variable to the JBuilder classes (as well) at the system level is enough. But Netscape may behave differently (by me, it shouldn't).

Thanks.
Aziz.
0
 

Author Comment

by:RICHARDH
ID: 1221645
Problem solved....Thanks very much
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JavaFX TableView not displaying correctly 3 161
mysql jsp example issue 32 96
Crystal Reports Licensing Questions 4 87
learn programming 8 94
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
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 …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

739 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