Article View: borland.public.jbuilder.java.api
Article #1450Re: Javamail works under Jbuilder but not under command line
From: Roy McBrayer
Date: Tue, 11 Dec 2001 18:12
Date: Tue, 11 Dec 2001 18:12
25 lines
1645 bytes
1645 bytes
The Activation Framework jar is imported as a package and is included in an import statement in the program. I can see it is included when JBuilder creates the classpath. Thanks, Roy : > >Roy McBrayer <roymcbrayer@austin.rr.com> wrote in message >news:3c1628d1$1_2@dnews... >> >> I have a program that is using the Java mail api. It runs fine when >compiled under JBuilder, but similar to my previous questions, it will not >run from the command line. The appropriate files are added to a library and >the packages have been imported into the project. I get the following >error. > >> javax.mail.NoSuchProviderException: No provider for Address type: rfc822 > >Have you put the Java Activation Framework (JAF) jar on your classpath? > >Owen > >
Technical Details
Message-ID:
<3c164c7f$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3c1628d1$1_2@dnews> <3c163164_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,6ccd96b37f5aca63 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-12-11 10:33:56 PST From: "Roy McBrayer" <roymcbrayer@austin.rr.com> Sender: "Roy McBrayer" <roymcbrayer@austin.rr.com> Reply-To: "Roy McBrayer" <roymcbrayer@austin.rr.com> Subject: Re: Javamail works under Jbuilder but not under command line Newsgroups: borland.public.jbuilder.java.api X-User-Info: 63.160.3.152 63.160.3.152 References: <3c1628d1$1_2@dnews> <3c163164_2@dnews> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3c164c7f$1_1@dnews> Date: 11 Dec 2001 10:12:15 -0800 X-Trace: dnews 1008094335 207.105.83.65 (11 Dec 2001 10:12:15 -0800) Lines: 26 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews