• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:


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

1 Solution
Can you post here the code of the web page which loads the applet?

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

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

RICHARDHAuthor Commented:
Problem solved....Thanks very much
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now