new to java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • baasu
    New Member
    • Aug 2007
    • 8

    new to java

    i m new to java n im gettin an error message
    "Exception in thread "main" java.lang.NoSuc hMethodError: main"
    how to rectify
    n where cam i find good online tutorial on java
    thnx
  • nomad
    Recognized Expert Contributor
    • Mar 2007
    • 664

    #2
    Originally posted by baasu
    i m new to java n im gettin an error message
    "Exception in thread "main" java.lang.NoSuc hMethodError: main"
    how to rectify
    n where cam i find good online tutorial on java
    thnx


    is good. if you need help this is one of the best places to get help

    nomad

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by baasu
      i m new to java n im gettin an error message
      "Exception in thread "main" java.lang.NoSuc hMethodError: main"
      how to rectify
      n where cam i find good online tutorial on java
      thnx
      You can even download Sun's tutorial. It just takes
      a couple of megabytes on your disk.

      Also read the 'Java Article Index' in the Java Articles section (see the blue menu
      bar at the top of this page). It contains valuable links to all sorts of downloads
      near the end of the article. Download the tutorial (see above) and also download
      the complete API documentation. Bookmark it (make it a 'favourite') in your browser.
      You'll need it often; take it from me.

      kind regards,

      Jos

      Comment

      • santoshbornforu
        New Member
        • Aug 2007
        • 1

        #4
        i think u didn't set the class path to jre...
        just u try this
        set classpath = .;
        then
        u execute the javac command..
        Ok Bye

        Comment

        • gaya3
          New Member
          • Aug 2007
          • 184

          #5
          Hi Bassu,
          java.lang.NoSuc hMethodError: main will be thrown
          in 2 situation
          --> If classpath is not been set.
          --> If "main" method is missed out.

          Comment

          • praveen2gupta
            New Member
            • May 2007
            • 200

            #6
            Originally posted by baasu
            i m new to java n im gettin an error message
            "Exception in thread "main" java.lang.NoSuc hMethodError: main"
            how to rectify
            n where cam i find good online tutorial on java
            thnx
            Hi
            Your class name is not matching with the file name of java.
            Or post your code

            Comment

            Working...