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


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

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:34 -0400
Organization Aioe.org NNTP Server
Message-ID <n06mir$ni9$2@speranza.aioe.org> (permalink)
References <n05bkc$i7g$1@speranza.aioe.org>

Show all headers | View raw


On 10/20/2015 8:23 AM, 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.

There are a few alternatives available.

But have you considered switching from MS Access to something else?

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