🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #223

Re: load jar library

#223
From: Kevin Dean [TeamB]
Date: Wed, 08 Feb 2006 16:22
22 lines
1723 bytes
Mark Hage wrote:

>I'm creating an application and want to use the jar file of another 
>application.
>I want the user to point out where the other application is located and 
>then load that jar file at runtime.
>How do I do this??

Look at the class java.net.URLClassLoader.

-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <xn0ei8kejav2kt000-kdean@www.teamb.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!proxad.net!proxad.net!ecngs!feeder.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43e9c937$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,af6fce94616a216b
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: load jar library
Newsgroups: borland.public.jbuilder.java.language
References:  <43e9c937$1@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.6.6
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobrp]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0ei8kejav2kt000-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:000004E5
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
NNTP-Posting-Host: 199.243.78.163
Date: 8 Feb 2006 09:22:48 -0700
X-Trace: newsgroups.borland.com 1139419368 199.243.78.163 (8 Feb 2006 09:22:48 -0700)
Lines: 22
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!proxad.net!proxad.net!ecngs!feeder.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail