[Sqlrelay-discussion] Using Java API on Win32
Brought to you by:
mused
|
From: Jan P. S. <Jan...@si...> - 2010-03-26 17:23:13
|
Hi,
currently I am trying to get the Java-API of SqlRelay working on Win32.
I have compiled Rudiments and SqlRelay in my Cygwin environment.
The created DLLs are looking fine. I copied all necessary DLLs into my
Java project (checked with Dependency Walker) and changed the file name
of "cygSQLRConnection-0.dll" to "SQLRConnection.dll" as it is referenced
in SQLRConnection.java.
The problem is that when Java executes the command
System.loadLibrary("SQLRConnection") it never returns. This blocks the
classloader loading com.firstworks.sqlrelay.SQLRConnection which is
really bad...
What is going wrong and what do I have to change to make it work?
I have to access a SqlRelay encapsulated SQLite database on a remote
Linux system...
Jan
|