Skip to main content

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

2 replies [Last post]
llucas
Offline
Joined: 2005-11-20
Points: 0

Hi,

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?

-L

Reply viewing options

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

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?

linuxhippy
Offline
Joined: 2004-01-07
Points: 0

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