need to tell javac directly where to find mail.jar & activation.jar
I'm writing a webapplication and the environment I will put it on won't have mail.jar or activation.jar
I am thinking of compiling a Bean (MailBean.java) directly through ssh and I want to tell javac where to find the jars I mentioned.
I started by putting them under WEB-INF/lib
problem is I get this error:
java.lang.UnsupportedClassVersionError: bean/MailBean (Unsupported major.minor version 49.0), I guess it means something about versions colliding?
But in this case I had compiled the MailBean.java on my own computer and later uploaded it so I was thinking of using ssh to compile it directly on the webserver environment.
Now comes the questioN: Where do I put my jars and what do I tell the javac command about finding them?
Cheers

