Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

java woes...........

Options
  • 17-02-2004 5:50pm
    #1
    Closed Accounts Posts: 34


    i get a nosuchmethod error while compling code on jbuilder......

    whats this about anyone know? is says java.lang:nosuchmethoderror

    is it a problem with a library or something?

    i really need to get this solved ! ^^


Comments

  • Registered Users Posts: 4,666 ✭✭✭Imposter


    Post the full error and some code might be useful. You're calling a method that doesn't exist. Maybe the naming (case) is wrong. Maybe the correct library isn't imported.


  • Closed Accounts Posts: 34 gwladys boy


    http://www.8052.com/users/ericmcn/asta.txt


    this is the code


    any help?

    i got jbuilder x

    thanks.


  • Registered Users Posts: 68,317 ✭✭✭✭seamus


    Post the full error as well.


  • Registered Users Posts: 21,264 ✭✭✭✭Hobbes


    Post the stack trace. No point posting the whole code.

    but if I was to take a guess is you are trying to run this an application instead of an applet (see other threads of people wanting same answers to the same homework I guess).

    http://www.boards.ie/vbulletin/search.php?s=&action=showresults&searchid=316447&sortby=&sortorder=

    and ffs.. at least read the code to see what it is doing before you run it...

    for example...
    All the application code is manually commented out for the applet build.
    //BEGIN Application Code ONLY ========
    //BEGIN COMMENT out for JDK 1.0
    [color=red][b]/*[/b][/color]
    public static void main(String[] args)
    {
    	Asteroids applet = new Asteroids();
    	applet.trueapplet = false;
    	Frame frame = new AsteroidsFrame(applet);
    	frame.show();
    }
    [color=red][b]*/[/b][/color]
    //END COMMENT out for JDK 1.0
    //END Application Code ONLY======================
    


  • Closed Accounts Posts: 34 gwladys boy


    here is a snamshot of jbuilder, is this any use to find why it wont compile?



    http://www.8052.com/users/ericmcn/x.JPG


  • Advertisement
  • Registered Users Posts: 21,264 ✭✭✭✭Hobbes


    Originally posted by gwladys boy
    here is a snamshot of jbuilder, is this any use to find why it wont compile?



    http://www.8052.com/users/ericmcn/x.JPG

    *cough* previous post.


  • Registered Users Posts: 16,411 ✭✭✭✭Trojan


    Original poster... please read this page in it's entirety - it'll help because you'll find people more responsive to your querys once you understand where they're coming from.

    *locked*

    Cheers,
    Al.


This discussion has been closed.
Advertisement