Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011
    Posts
    20
    Rep Power
    0

    Default problems with the program

    hey hey guyes... im verry new with jedit and is working my way forward in the programing... i hit a problem... im writing a small program and when im compile it there is no problem but when i try to run it the terminal says this :

    stefan-danielsens-macbook-pro:java stefandanielsen$ java Setpoints
    Exception in thread "main" java.lang.NoClassDefFoundError: Setpoints (wrong name: setPoints)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader. java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :616)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader .java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader. java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48)
    stefan-danielsens-macbook-pro:java stefandanielsen$ java Setpoints
    Exception in thread "main" java.lang.NoClassDefFoundError: Setpoints (wrong name: setPoints)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader. java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :616)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader .java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader. java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48)

    pleas help me .... what am i doing wrong???

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,305
    Rep Power
    20

Similar Threads

  1. problems with the program
    By stefandanielsen in forum AWT / Swing
    Replies: 5
    Last Post: 03-03-2011, 08:04 AM
  2. Replies: 4
    Last Post: 01-21-2011, 10:43 PM
  3. Problems with program..
    By spatel14 in forum New To Java
    Replies: 8
    Last Post: 07-01-2010, 02:51 PM
  4. Program using JPanel - problems
    By doozer8688 in forum New To Java
    Replies: 6
    Last Post: 11-04-2008, 11:16 PM
  5. Problems with this Java Program...
    By Bangtajra123 in forum Java Applets
    Replies: 6
    Last Post: 09-30-2008, 10:04 PM

Posting Permissions

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