Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Help setting up Javabeans activation framework standard extension

843830Jun 16 2001 — edited Jun 19 2001
I'm fairly new to Java and to OOP. I'm developing an application in using JDK 1.2.1 and Borland/Inprise's JBuilder Professional version 3.0 (the OS is MS windows 98).

I'm trying to add javamail to the application

I downloaded javamail 1.2 from the Sun website . The site says you need the Java Activation framework as a prerequisite. So I downloaded that too (version 1.0.1)

the documentation file says :

<CUT>
There is effectively no installation of the JAF. The classes that
make up the JAF are contained in the included Java(tm) Archive (JAR) file,
"activation.jar". This file can be placed anywhere accessible to the
Java virtual machine running on your system. The only requirement is
that the activation.jar be included in your system's class path so
Java can find the JAF classes.
<PASTE>

I've tried the above , i.e. my autoexec.bat file has the line:

SET CLASSPATH=C:\JBUILDER3\BIN;.;C:\COREJAVABOOK

so I copied the files activation.jar and mail.jar to C:\JBUILDER3\BIN

but when I run the demo files supplied they dont work , I get errors in JBuilder :

for example , with the demo file MCTest.java
for ..
import com.sun.activation.registries.*;
I get error
"cannot access directory com\sun\activation\registries."

and for
import javax.activation.*;
get
"cannot access directory javax\activation."


If anyone is familiar with jbuilder & knows how to fix this & set up the application framework that would be great

( a bonus would be if you also can add any installation tips for javamail )



Thanks in advance for any help,

Mike.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 17 2001
Added on Jun 16 2001
2 comments
318 views