🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1452

Re: Javamail works under Jbuilder but not under command line

#1452
From: Owen Green
Date: Tue, 11 Dec 2001 18:53
18 lines
1701 bytes
Roy McBrayer <roymcbrayer@austin.rr.com> wrote in message
news:3c164c7f$1_1@dnews...
>
> 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.

Hmm, ok, that's not it...

Looking at http://java.sun.com/products/javamail/FAQ.html#securityManager,
it seems to me that the problem may be that there's a permission problem, or
that you haven't got all the relevant JARs on the classpath when you run it
from the command line.

Could you post your command line classpath?

Owen
Technical Details
Message-ID: <3c16556e$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!pulsar.dimensional.com!dimensional.com!newsfeed.frii.net!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3c1628d1$1_2@dnews> <3c163164_2@dnews> <3c164c7f$1_1@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:57:47 PST
From: "Owen Green" <owen@begonefoulmachine.kennulz.demon.co.uk>
Newsgroups: borland.public.jbuilder.java.api
References: <3c1628d1$1_2@dnews>  <3c163164_2@dnews>  <3c164c7f$1_1@dnews>
Subject: Re: Javamail works under Jbuilder but not under command line
Date: Tue, 11 Dec 2001 18:53:20 -0000
Lines: 24
Organization: Unique Interactive
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 193.237.54.9
Message-ID: <3c16556e$1_1@dnews>
X-Trace: dnews 1008096622 193.237.54.9 (11 Dec 2001 10:50:22 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!pulsar.dimensional.com!dimensional.com!newsfeed.frii.net!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews