Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes urgent help pls!how to configure javamail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "urgent help pls!how to configure javamail" Watch "urgent help pls!how to configure javamail" New topic
Author

urgent help pls!how to configure javamail

blackcarlos Dibia
Greenhorn

Joined: Mar 30, 2005
Posts: 21
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

Joined: Nov 07, 2000
Posts: 242
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.
 
 
subject: urgent help pls!how to configure javamail