Forum OpenACS Q&A: Response to webmail class compile

Collapse
Posted by Dan Wickstrom on
Your need to set your CLASSPATH before you compile:

1037 nsadmin@localhost:~/mirror/acs3-pg/www/webmail/java >export CLASSPATH=/home/nsadmin/bin/mail.jar:/home/nsadmin/bin/activation.jar:/home/nsadmin/mirror/acs3-pg/www/webmail/java:/home/nsadmin/bin/nsjava.jar
1038 nsadmin@localhost:~/mirror/acs3-pg/www/webmail/java >make
javac -g acspg/BLOB.java
javac -g acspg/CLOB.java
javac -g acspg/BlobDataSource.java
javac -g acspg/ClobDataSource.java
javac -g acspg/AttachmentsIter.java
javac -g acspg/HeadersIter.java
javac -g MessageComposer.java javac -g MessageParser.java Note: MessageParser.java uses a deprecated API. Recompile with "-deprecation" for details. 1 warning

Make sure that your have the mail.jar and activation.jar files in your classpath. Read the webmail.html file in the doc directory for more details about these jar files. You must also have the nsjava jar file and the www/webmail/java directory in your classpath to successfully compile.