atris / JDBC_FDW

FDW that wraps JDBC for PostgreSQL.It can be used to connect and fetch data from any data source that supports JDBC
Other
66 stars 38 forks source link

Error running in Windows. #7

Closed brunosimioni closed 11 years ago

brunosimioni commented 11 years ago

Atri, we are using the following method to build Postgresql under Windows.

http://www.postgresql.org/docs/9.0/static/install-windows.html

Environment: Windows 2012 Server 64 Visual Studio Express 2012 JRE 7u23 64 JDK 7u23 64 PostgreSQL 9.2.4

The PostgreSQL compiles with JDBC_FDW as a contrib module with sucess. We install it and PostgreSQL runs. (after initdb, and pg_ctl start).

With PostgreSQL up and running, the following command fails:

create extension jdbc_fdw; Could not load library "C:/Postgres/lib/jdbc_fdw.dll": unknow error 126

That's the only output we got. Is there any tip to get this working?

ps: We copied the jvm.dll into C:/Windows/System32, trying to solve the problem, but it didn't make any diference.

atris commented 11 years ago

I think the issue has been resolved. As you said, the issue was with the class path and environment variables in your win setup. Please share any knowledge/improvement here so that the product can be improved and other users gain help.

Thanks, and closing the issue.