Is this your first time here? SwingWiki is a Java Swing Developer community site with an big archive of Swing-related usenet groups and mailing lists, but also tips, tricks and articles and book reviews written by your colleagues from around the world. If you came here through a search engine and did not find what you were looking for, make sure to check the wiki table of contents.

Dynamic classpath

From:"wizard of oz" [glennm@masked-domain]
Sent on:Wed, 07 May 2008 08:41:27 GMT
I have a need to have a classpath that is determined by the set of jars a 
user places into a directory.

By way of example, placing jar's into certain directories in a tomcat web
server will cause tomcat to include them into the web applications class
path. An example of this might be a charting package used by the web app to
generate charts.

In my specific example, I am building a query tool and I want to be able to
tell users to simply drop the JDBC drivers into a directory and my app will
"pick them up". Thus there would be no need to edit the classpath.

My target environment is Java 6.0

TIA
Found what you were looking for? If not - continue at Wiki Index

Other messages in this topic

SenderDate sentSubject
Roedy Green [see_website@masked-domain]Wed, 07 May 2008 13:51:08 GMTRe: Dynamic classpath
Thomas Kellerer [YQDHXVLMUBXG@masked-domain]Wed, 07 May 2008 14:17:17 +0200Re: Dynamic classpath
"wizard of oz" [nospam@masked-domain]Wed, 07 May 2008 11:38:28 GMTRe: Dynamic classpath
Thomas Kellerer [YQDHXVLMUBXG@masked-domain]Wed, 07 May 2008 11:08:40 +0200Re: Dynamic classpath

 
Recent changes | RSS changes | Table of contents | News Archive | Terms And Conditions | Register | The Quest For Software++| Ruby Resources
FitNesse Resources