Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JBuilder 4 & javamail  RSS feed

 
mocca az
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!