Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » howto dynamically append the java classpath
howto dynamically append the java classpath [message #100435] Thu, 02 October 2003 07:37 Go to next message
Eclipse UserFriend
Originally posted by: christian.reinheimer.t-systems.com

HI

My Problem is the following:
I want to make JDBC Connections to databases.
Therefore I've got to load Drivers at runtime of my plugin, but I don't
know how to. The Problem is, that a JDBC Driver shall be specified at
runtime and than it shall be loaded. therefore I've got to update my
classpath, to make the method Class.forName(drivername) work, so it can
find the drivers jar file...
So How can I update my classpath at runtime to make the forName method
work?
Re: howto dynamically append the java classpath [message #100489 is a reply to message #100435] Thu, 02 October 2003 10:09 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO--SPAM.us.ibm.com

See:

http://eclipsewiki.swiki.net/114#augmentedClasspath

Rich
Previous Topic:Eclipse and Java Media Framework
Next Topic:Bug #30855 - Nesting error message specifying class folder
Goto Forum:
  


Current Time: Tue Sep 16 18:38:55 EDT 2025

Powered by FUDForum. Page generated in 0.03181 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top