As far as I understand it, this is the end-user's problem (to be documented) as opposed to a development problem. As far as I know, the jni.h files should be compatible with all other JDKs on the same platforms so you only need to release one DLL/SO per platforms (like you would if this was plain C) and it is then up to the user to make sure the Postgres process has the right JRE DLL/SO in its PATH.
This shouldn't be too technically difficult to pull off. Gili On 17/09/2014 6:26 PM, John R Pierce [via PostgreSQL] wrote: > On 9/17/2014 3:07 PM, cowwoc wrote: > > > > Can you be more specific? Are you talking about load-time linking > > against jvm.dll/so? > > $JAVA_HOME/jre/lib/amd64/server/libjvm.so or whatever, yeah. the > path of that relative to $JAVA_HOME is rather variable, depending on a > lot of things, like 32 vs 64 bit JRE, x86 vs sparc/solaris vs AIX/power, > and I think GCJ has a considerably different directory layout. > > Also... are the jni.h files the same or at least interchangable for > the various flavors of Java? > > > > > > > > > -- > john r pierce 37N 122W > somewhere on the middle of the left coast > > > > -- > Sent via pgsql-general mailing list ([hidden email] > </user/SendEmail.jtp?type=node&node=5819414&i=0>) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://postgresql.1045698.n5.nabble.com/Why-isn-t-Java-support-part-of-Postgresql-core-tp5819025p5819414.html > > > To unsubscribe from Why isn't Java support part of Postgresql core?, > click here > <http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5819025&code=Y293d29jQGJicy5kYXJrdGVjaC5vcmd8NTgxOTAyNXwxNTc0MzIxMjQ3>. > NAML > <http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > -- View this message in context: http://postgresql.1045698.n5.nabble.com/Why-isn-t-Java-support-part-of-Postgresql-core-tp5819025p5819419.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.