File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

urgent help pls!how to configure javamail

 
blackcarlos Dibia
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
newbie with the javamail technology,set my classpath on a Win2003server as classpath=C:\Sun\AppServer\lib\mail.java%classpath%;C:\Sun\AppServer\lib\activation.jar%classpath%;
after reboot try to compile code but I get javax.mail package does not exist
pls need to deploy soon need help
 
Santhosh Kumar
Ranch Hand
Posts: 242
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are not specifying the classpath correctly. In windows

%CLASSPATH%

means, replace this occarrence with previous value. So you want to add some jar files into the existing class path in some batch file. Then your set entry should be,

SET CLASSPATH=%CLASSPATH%;C:\Sun\AppServer\lib\mail.jar;C:\Sun\AppServer\lib\activation.jar;

After making this modification, if you still have issues, post the DOS commond history along with environment variables.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic