*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: urgent help pls!how to configure javamail
 
Similar Threads
Adding Data Source in Glassfish v3
Classpath For JavaMail Codes
How to use J2EE
Re: J2EE setting
How to compile servlets