This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I wrote a java app that uses the MS sqlServer jdbc driver. The driver location is in the system classpath (XPpro sp2) and when I execute my app as:
all is good......
So I created a executable jar file and cannot get the sqlServer driver to load.
I created this manifest file:
and created the jar with:
I have tried all kinds of variations of the jar creation and the manifest file, but cannot get the sqlServer driver to load. All I get is:
I have spent the day searching the net for an answer and haven;t come up with anything yet.
HELP!!! what am i doing wrong??? [ March 17, 2006: Message edited by: Steve Gibson ]
An insane man is perfectly sane in his own mind - cira 1984 a very young chemically altered S.Gibson<br /> <br />Yes we do build our software idiot proof, problem is they keep building better idiots. - (used by S.Gibson to break the tension during a confernece call with the CIO)
The path delimiter in your Class-Path attribute in your manifest file should be space - not a ";". Secondly, the path to the sqljdbc.jar file has to be expressed as a relative path and not an absolute path.
Try this for your Class-Path attribute in the manifest file: