I created an application that uses a third party library. There are no compilation or preverification problems, but I get the following error message.

One thought on “I created an application that uses a third party library. There are no compilation or preverification problems, but I get the following error message.

  1. Normal
    0

    MicrosoftInternetExplorer4

     I created an application that uses
    a third party library. There are no compilation or preverification problems,
    but I get the following error message.

    Uncaught
    exception java/lang/NoClassDefFoundError: java/awt/Frame: Cannot create class
    in system package.

    How can I fix this?

    To use 3rd party
    libraries see Project > Properties > External APIs and see the User’s
    Guide. Note, you can’t create classes in system packages (for example,
    java, javax., com.sun.) because of
    security restrictions.