Sorry if I ask newb questions... I am aware of classpath. I was under the impression that the current directory was always part of the class path. (how else does java find the other two of my own class files in the same folder when I run Java on the one with the static Main method) So when I put the jar in the current folder I thought I was putting it in the classpath.
Is that not correct? The current directory is not always in the class path? and if not, just so I can have a clearer understanding, can someone explain how Java finds my other two class files in the current folder, but fails to find the jar?
got it working. For anyone stumbiling on this thread here is the class and config file I used to sent through gmail. I hard coded the password in the class. Obviouslyi this is probably really bad form. But for a newb just trying to make a script to send a warning email, it gets the job done. I just used a "junk" gmail account that is not really used for anything.
Thanks! I am working with Java SE, but the links are broken for the downloads it suggests if you are working with SE. Any chance you could point me to the correct current download links for JavaMail, and JavaBeans Activation Framework?