Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #32913

Re: How to put JDBC-ODBC bridge into JAR

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: How to put JDBC-ODBC bridge into JAR
Date 2015-10-20 20:33 -0400
Organization Aioe.org NNTP Server
Message-ID <n06mg7$ni9$1@speranza.aioe.org> (permalink)
References <n05bkc$i7g$1@speranza.aioe.org> <76a00d57-057b-49f9-864c-67c8e4abc8e0@googlegroups.com>

Show all headers | View raw


On 10/20/2015 9:02 AM, Eric Douglas wrote:
> On Tuesday, October 20, 2015 at 8:21:59 AM UTC-4, Xue Feng wrote:
>> I am trying to develop a java program running on windows, which is
>> to make use of a ACCESS database. To this end, JDK 7 is used
>> because it includes JDBC-ODBC bridge which is not included in JDK 8
>> any more. However, the running environment is required to install
>> JRE 8. So, when running, the program will fail to access the
>> database. Netbeans is my IDE, and I use it to generate JAR which
>> can run directly. I have unpacked the JAR file, and there is no
>> JDBC-ODBC bridge in it at all. I wonder how I can pack JDBC-ODBC
>> bridge into the jar file. Thx.
>
> I don't know anything about the bridges, but you can access MS Access
> files directly using JDBC with the jackcess jar in your classpath.
> http://jackcess.sourceforge.net/

That library may be a very good choice.

Just note that it does not support JDBC but only its
own API.

http://jackcess.sourceforge.net/faq.html#jdbc

Arne


Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to put JDBC-ODBC bridge into JAR Xue Feng <xf.lotus@yahoo.com> - 2015-10-20 20:23 +0800
  Re: How to put JDBC-ODBC bridge into JAR Eric Douglas <e.d.programmer@gmail.com> - 2015-10-20 06:02 -0700
    Re: How to put JDBC-ODBC bridge into JAR Arne Vajhøj <arne@vajhoej.dk> - 2015-10-20 20:33 -0400
      Re: How to put JDBC-ODBC bridge into JAR Eric Douglas <e.d.programmer@gmail.com> - 2015-10-21 05:16 -0700
        Re: How to put JDBC-ODBC bridge into JAR Martin Gregorie <martin@address-in-sig.invalid> - 2015-10-21 15:40 +0000
        Re: How to put JDBC-ODBC bridge into JAR Arne Vajhøj <arne@vajhoej.dk> - 2015-10-21 21:00 -0400
  Re: How to put JDBC-ODBC bridge into JAR Arne Vajhøj <arne@vajhoej.dk> - 2015-10-20 20:34 -0400
    Re: How to put JDBC-ODBC bridge into JAR Silvio <silvio@internet.com> - 2015-10-21 09:31 +0200

csiph-web