Skip to main content

program can't find JDBC driver when I run it from a .bat file

2 replies [Last post]
Joined: 2005-11-20


I developed a program in an IDE using an external jar in the build path to access the JDBC driver. It works fine when I run it from the IDE but when I try to run it using a .bat file on my desktop, it can't find the driver.

Does anyone have a suggestion?


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2005-08-10

I'm not sure this is the correct place for this, but I figured I'd ask you anyways. How do you have your bat file wired up? Are you making sure to include the Jar in the path for the application?

Joined: 2004-01-07

yes please move it, this is not performance related at all :(