Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem running mehods in BlueJ...

 
John Brookes
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok I'm running on a bit of a deadline here, but I've just brought a project back from uni onto my home PC and now I'm faced with this:

When I right-click the driver class for my project (appropriately named "driver") I should get a list of methods available, specifically the main method so I can run my program. I don't have the source code for driver as it has been supplied as part of the coursework and i DOES work. My problem lies in the menu NOT appearing when I right click. I can do it for every other class and make instances of them, but not the one I really need to use.

I could do it when I was at uni, running an identical version of the project in the same IDE.

If I use a batch file to run driver I get the following:

Exception in thread "main"java.lang.NoClassDefFoundError: driver

Help!
 
John Brookes
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I'm going to stick this up in the IDE forum too, just in case it's BlueJ-specific...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic