2

I'm trying to run java from the command line. I'm in the bin folder of an Eclipse project and do:

java nl.camilstaps.botleagues.MyGameController

The directory structure shows that nl/camilstaps/botleagues has a MyGameController.class file, however, I get an error:

Error: Could not find or load main class nl.camilstaps.botleagues.MyGameController

I looked through What does "Could not find or load main class" mean?, but it doesn't help me.

What can be causes of this error? Yesterday it worked fine, and on an ubuntu computer with the exact same repository it also works fine (the files are synchronised with git).

Community
  • 1
  • 1
tv31
  • 55
  • 6

0 Answers0