[Pljava-dev] Windows binaries

From: eric(dot)kolotyluk at gmail(dot)com (Eric Kolotyluk)
To:
Subject: [Pljava-dev] Windows binaries
Date: 2011-01-25 00:31:44
Message-ID: AANLkTinv44uzq0kS+dS_Dt0RN0bBDiKbB_yEQra41eOG@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

OK, I've made a little more progress. I switched from 64-bit Windows 7 to
32-bit Windows 7. I suspect something is hosed with 64-bit - probably
pljava.dll was not built on a 64-bit system???

I am able to run: psql -f install.sql

I was also able to do

SELECT sqlj.install_jar('file:///Program
Files/PostgresPlus/9.0SS/PostGIS/java/pljava/postgis_pljava.jar',
'postgis_pljava_jar', false);

CREATE OR REPLACE FUNCTION public.helloworld()
RETURNS "varchar" AS
'org.postgis.pljava.HelloWorld.helloWorld'
LANGUAGE 'java' VOLATILE;

but now when I try to do

SELECT helloWorld();

I get

ERROR: java.lang.ClassNotFoundException: org.postgis.pljava.HelloWorld

********** Error **********

ERROR: java.lang.ClassNotFoundException: org.postgis.pljava.HelloWorld
SQL state: XX000

I can see "org/postgis/pljava/HelloWorld.class" in the table sqlj.jar_entry
so I'm not sure what the problem is.

Does anyone have any ideas?

Cheers, Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20110124/862c3534/attachment.html>

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Johann 'Myrkraverk' Oskarsson 2011-01-25 03:03:37 [Pljava-dev] Windows binaries
Previous Message Eric Kolotyluk 2011-01-24 20:43:29 [Pljava-dev] Windows binaries