🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Set classpath at run-time ?

#15584
From: Paul Franks
Date: Mon, 24 May 1999 00:00
16 lines
987 bytes
In article <7htoj0$dob7@forums.borland.com>, george@compucon.gr says...
> s it possible to set the classpath from a Java application at run-time
> and then use it ?
> 
> If for example the classpath does not contain the Swing,
> to add Swing into it and then use Swing ?
> 

Sounds unlikely to work.  By the time the app is in a position to try 
reading the classpath it is too late, it has already been read to set the 
environment.

You may find it easier to use the -cp parameter in the command line which 
launches the application. 
-- 
pf
Technical Details
Message-ID: <MPG.11b313f9a8376291989c0c@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7htoj0$dob7@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,19db552c80fa2eab
X-Google-Attributes: gidf74b3,public
From: supportinfo@inprise.com (Paul Franks)
Subject: Re: Set classpath at run-time ?
Date: 1999/05/24
Message-ID: <MPG.11b313f9a8376291989c0c@forums.inprise.com>
X-Deja-AN: 481607863
References: <7htoj0$dob7@forums.borland.com>
Organization: TeamB
Newsgroups: borland.public.jbuilder.java.language