Let me be the first to say that this is probably something incredibly obvious, as I hate classpath errors and they're especially annoying when you see how simple the solution is. That said, I'm seeing the following after running my ant compile
script on FreeBSD:
[Loaded sun.misc.URLClassPath$FileLoader from /usr/local/jdk1.4.2/jre/lib/rt.jar]
Exception in thread "main" java.lang.NoClassDefFoundError: org/lnicholls/javahmo/server/Server
[Loaded java.lang.StackTraceElement from /usr/local/jdk1.4.2/jre/lib/rt.jar]
[Loaded java.lang.Shutdown from /usr/local/jdk1.4.2/jre/lib/rt.jar]
[Loaded java.lang.Shutdown$Lock from /usr/local/jdk1.4.2/jre/lib/rt.jar]
Obviously, this is no good. An excerpt from my /etc/profile
reads as follows:
So, I guess I'm pointing to the right place, but since java is sooo good at telling me exactly which JAR it's looking for, I have no idea what it's missing out on.
Any help with this would be just ducky.