This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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
How to compile servlets
Classpath For JavaMail Codes
How to use J2EE
Re: J2EE setting