I've been writing java for about a year now. I took a semester of it in college and I love it! In our class, however, we only used Netbeans and spent only a few minutes in one class period talking about compiling at the command line. I have a program I've been working on for some time, but it's kicking my butt. I have the class built and a main class to instantiate and run my class. i want my program to run at the command line, but when I go to compile it at the command line, the compile fails because it says it can't find my class that I built. It's in the same directory with the main class and I have them under the same package name.
What's weirdest about it is that when I run it in Netbeans, it's beautiful, runs exactly as it should, but it won't even compile outside of Netbeans. It's so frustrating, and I can't figure out what in the world is wrong. I've been pouring through all my java books and the closest I can get is that it may have something to do with the package and the classpath.
Can anyone help me figure out what I'm doing wrong?