I have below CLASSPATH.
C:\Example\javaux\mail>set|grep -i class
CLASSPATH=.;
c:\program Files\notes\Notes.jar;
c:\Program Files\notes\data\domino\java\NCSO.jar;
C:\Program Files\Java\api\jaf-1.0.2\activation.jar;
C:\Program Files\Java\api\javamail-1.3.2\mail.jar;
c:\example\javaux\javaclass\lotus\domino\NCSO.jar
I want build New jar include ByteArrayDataSource how to process ?
org.apache.commons.mail
Class ByteArrayDataSource
java.lang.Object
org.apache.commons.mail.ByteArrayDataSource
All Implemented Interfaces:
javax.activation.DataSource
Below java program need ByteArrayDataSource class
C:\Example\javaux\mail>javac sendhtml.java
sendhtml.java:242: cannot resolve symbol
symbol : class ByteArrayDataSource
location: class sendhtml
new ByteArrayDataSource(sb.toString(), "text/html")));
^
1 error
Jack Vamvas - 11 Aug 2006 10:11 GMT
Make sure your files are compiled and use the "jar" command from your
command line
e.g jar -cvf myfile.jar .\org\*
----
Jack Vamvas
___________________________________
Receive free SQL tips - www.ciquery.com/sqlserver.htm
___________________________________
> I have below CLASSPATH.
>
[quoted text clipped - 25 lines]
> ^
> 1 error