error compiling the correct code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eyeofsoul
    New Member
    • Sep 2007
    • 31

    error compiling the correct code

    hello..i am really new to java..i am using netbean 4.1.i also install netbean 5.
    the problem is i got this error when compiling my CopyFile.java.. the error said "java.lang.NoCl assDefFoundErro r: test1/CopyFile
    Exception in thread "main"
    Java Result: 1"

    i am compiling using netbean 4.1

    somebody plz help me..
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by eyeofsoul
    hello..i am really new to java..i am using netbean 4.1.i also install netbean 5.
    the problem is i got this error when compiling my CopyFile.java.. the error said "java.lang.NoCl assDefFoundErro r: test1/CopyFile
    Exception in thread "main"
    Java Result: 1"

    i am compiling using netbean 4.1

    somebody plz help me..
    You tried to run it before compiling it?

    Comment

    • epots9
      Recognized Expert Top Contributor
      • May 2007
      • 1352

      #3
      your paths to the java jdk may not be setup

      Comment

      • eyeofsoul
        New Member
        • Sep 2007
        • 31

        #4
        thanks..i have solve the problem..just a little mistakes that cause all the chaos..

        Comment

        Working...