public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Nektarios K. Papadopoulos" <npapadop@inaccessnetworks.com>
To: Taufik Chowi <m4g1c14n2000@yahoo.com>
Cc: Marco Trudel <marco@mtsystems.ch>, java@gcc.gnu.org
Subject: Re: GCJ Compile Error SQLite JDBC
Date: Tue, 23 Sep 2008 11:15:00 -0000	[thread overview]
Message-ID: <48D8CFAD.8060009@inaccessnetworks.com> (raw)
In-Reply-To: <998941.51152.qm@web54602.mail.re2.yahoo.com>

On 2008-09-23 13:18, Taufik Chowi wrote:
> Dear Marco,
> 
> Oh really?
> ok thanks a lot for the information.
> i will try to find the "build option" that used JNI to access native compiled sqlite library.
> 
> 

I used sqlitejdbc-v044. The build option is:

make native

You get:
build/sqlitejdbc-v044-native.jar
build/Default-i686/libsqlitejdbc.so

I then used a sample class using sqlite jdbc, compiled to .class and used gcj 
like this:

gcj -o myTest -findirect-dispatch -fjni --main=mypackage.myTest 
sqlitejdbc-v044-native.jar mypackage/myTest.class

BTW,
gcj --version
gcj (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu6)

Cheers

-- 
Nektarios K. Papadopoulos

  reply	other threads:[~2008-09-23 11:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-23 10:19 Taufik Chowi
2008-09-23 11:15 ` Nektarios K. Papadopoulos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-09-24  3:12 Taufik Chowi
2008-09-23  9:33 Taufik Chowi
2008-09-23 10:14 ` Marco Trudel
2008-09-11 11:05 Taufik Chowi
2008-09-11 11:13 ` Andrew Haley
2008-09-23  9:24   ` Nektarios K. Papadopoulos
2008-09-11  9:55 Taufik Chowi
2008-09-11 10:51 ` Andrew Haley
2008-09-11  9:33 Taufik Chowi
2008-09-11  9:43 ` Andrew Haley
     [not found] <333198.77200.qm@web54603.mail.re2.yahoo.com>
2008-09-11  9:31 ` Andrew Haley
2008-09-11  9:22 Taufik Chowi
2008-09-11  6:28 Taufik Chowi
2008-09-11  9:07 ` Andrew Haley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48D8CFAD.8060009@inaccessnetworks.com \
    --to=npapadop@inaccessnetworks.com \
    --cc=java@gcc.gnu.org \
    --cc=m4g1c14n2000@yahoo.com \
    --cc=marco@mtsystems.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).