Why is dealing with Java classpaths always a fucking problem? I've used Java on and off for years and can never get it to work right.
I have a source file called FOO.java with a class named FOO in it. At the top of FOO.java is a package declaration of org.foo. So, FOO.java is in /work/org/foo because of what package it's in. Then in foo_driver.java, which is just in /work, I do an import org.foo at the beginning of the file. Javac's complaining it can't find the package. What's wrong?
Hmm... Mastering the Java Classpath
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):