2 Replies Latest reply: Aug 14, 2008 10:30 AM by 843785 RSS

    .exe reading from Excel files

      Hi everybody,

      I know similar questions have been asked lots of times but while searching the forum didn't find an anwer to my problem.
      I created an exe file (using exe4j) of a java application which reads form Excel files. Although it works when I run it from my editor, when running the exe file it cant find the Excel file. More specifically I have this error:

      "java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"

      In order to read from excel files I use POI. I used it so as not to use ODBC driver and make it possible to run in every computer. When adding the driver, the exe works.Do you know a way to make it work without having to install the Driver?

      Thanks in Advance