IntelliJ Java IDE
The moose likes Other JSE/JEE APIs and the fly likes JBuilder 4 & javamail Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "JBuilder 4 & javamail" Watch "JBuilder 4 & javamail" New topic
Author

JBuilder 4 & javamail

mocca az
Ranch Hand

Joined: Mar 07, 2001
Posts: 93
Greetings,
I have downloaded JavaMail from http://java.sun.com/products/javamail/
i also downloaded JAF: from http://java.sun.com/beans/glasgow/jaf.html
my CLASSPATH looks like this:
D:\DEV\JBuilder4\jaf1_0_1\activation.jar;D:\DEV\JBuilder4\javamail-1_2\mail.jar
however jbuilder cannot find javax.mail.*; or any of the other packages.
Can someone show me how to configure jbuilder to use this.
I am running w2000 server, tomcat for servlets/jsp, jdk1.3
Greatly appreciated,
m,phx
Jared Krull
Ranch Hand

Joined: Sep 28, 2001
Posts: 32
I think you need to go to tools->jdk options?
look around an find the dialog that allows you to add seperate jar files.
add the path to mail.jar and activation jar.
It should then work, but dont forget to add
import javax.mail.*;
import javax.mail.internet.*;
The classpath allows you to run the class, but it seems jbuilder prefers the options in the compiler


C programmer gone astray
 
 
subject: JBuilder 4 & javamail
 
Threads others viewed
Sending Email from Java Application to MS OutLook Express using Java Mail API
JavaMail & JAF
Send email directly from a servlet
SMTP mail............???
Where is activation.jar
MyEclipse, The Clear Choice