Results 1 to 3 of 3
  1. #1
    Shadaw is offline Member
    Join Date
    Dec 2008
    Posts
    4
    Rep Power
    0

    Default Applet not functioning

    I believe it's a problem with my JDK profile in jcreator, maybe? I can compile everything and see if my code has any exceptions, but when i attempt to run my "pong" (the game) project, I get this long exception:


    java.lang.NoClassDefFoundError: pong (wrong name: Pong)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :621)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
    at sun.applet.AppletClassLoader.findClass(AppletClass Loader.java:192)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
    at sun.applet.AppletClassLoader.loadClass(AppletClass Loader.java:127)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
    at sun.applet.AppletClassLoader.loadCode(AppletClassL oader.java:595)
    at sun.applet.AppletPanel.createApplet(AppletPanel.ja va:785)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java: 714)
    at sun.applet.AppletPanel.run(AppletPanel.java:368)
    at java.lang.Thread.run(Thread.java:619)

    Process completed.



    Help perhaps? Can't find out for the life of me what's wrong.

  2. #2
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    7

    Default Ping Pong Pung

    pong != Pong

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. Applet
    By sonu in forum Java Applets
    Replies: 1
    Last Post: 11-04-2008, 10:31 AM
  2. Need with an applet
    By maggie_2 in forum Java Applets
    Replies: 6
    Last Post: 09-21-2008, 08:07 PM
  3. Applet in a GUI
    By serfster in forum New To Java
    Replies: 1
    Last Post: 06-12-2008, 11:09 PM
  4. First Applet HELP????
    By nvidia in forum New To Java
    Replies: 0
    Last Post: 08-13-2007, 10:11 PM
  5. Replies: 4
    Last Post: 06-08-2007, 06:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •