This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm trying to compile my class extending james's mailet GenericMailet. I think that my environment variables are not correct or something, because I am getting
TestThis.java:9: cannot find symbol symbol : class Mail location: package org.apache.mailet import org.apache.mailet.Mail;
Continously. Below I have my environment variable. I thought that I have everything I need for JAMES's packages to be found in their jar's. I did read the faq on environment variables, so I feel I have the right environment variables set.
Note that you can't use "*" in the CLASSPATH; you have to explicitly name jars. This might be messing things up for you; try removing the wildcards.
Better yet, don't use CLASSPATH at all. Provide just the jars your program needs using the -cp or -classpath switches to the compiler and runtime. Too much work? Then use a script, or learn to use Ant.