Posted on 1998-05-28
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..

Question by:RICHARDH

Expert Comment

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


Expert Comment

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


Accepted Solution

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).


Author Comment

ID: 1221645
Problem solved....Thanks very much

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
How to get all the API from website? 11 104
Facing this issue for maven proxy setting 2 20
ejb on wildfly 5 30
Detect Closed Loops (circles, figure-8s, etc) in PNG Images 6 57
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

860 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