Compiling error - just started happening, but why?
Hi, going a bit crazy here. Have been working on a small project (about 15 classes right now), and all was going well until today. Up until now, I've simply compiled using the command "javac f1m/F1M_main.java". I have this in a batch file, that also has a command to delete all class files first, just to keept things up to date). F1M_main.java being the file that contains the main class, in the directory f1m. I run the batch file from a directory one level above the source directory, f1m. All source files are in this directory, and all are in the same package (f1m).
Until today, this worked fine. If a class that F1M_main depended on didn't exist, but the source file of the same name did, it was compiled automatically. But today, when I tried to compile it using the same batch file, none of the classes I'd defined myself could be found (all "cannot find symbol" errors). Every single class. I tried building using the command javac f1m/*.java which seemed to compile (all class files were created), but if I try running using java f1m/F1M_main or java f1m.F1M_main, or java f1m/f1m.F1M_main, or even going into the f1m directory and trying from there, I always only get a NoClassDefFound error...
This is very confusing, as all this worked until today, and I hadn't changed anything (as far as I could tell) to cause it to stop working. Feeling frustrated, I went to a project I haven't touched for a few weeks, and tried compiling that (again, using a batch file that always worked). Again, same problem! None of my defined classes could be found... This all worked before, and I definitely haven't changed either the source or batch file for this project. What's happened? What's changed? I uninstalled / reinstalled java too, just to see...but nothing. Hmmm.
Does anyone have any ideas what might be going on? I'm sure it's something silly, but it does seem very odd :( Can anyone help? I think I'm going mad...!

