Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-31 Thread Craig Ringer
Kris Jurka wrote: > Craig Ringer wrote: > >> Perhaps a stupid question, but isn't the `-source' parameter to javac >> intended to mask new features and such for just the purpose of compiling >> older sources on a new JDK? >> > > The -source argument only controls language features, not > interfac

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread Kris Jurka
Craig Ringer wrote: Perhaps a stupid question, but isn't the `-source' parameter to javac intended to mask new features and such for just the purpose of compiling older sources on a new JDK? The -source argument only controls language features, not interface/class definitions. java.sql.* pr

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread Craig Ringer
Kris Jurka wrote: > Grzegorz Jaśkiewicz wrote: >> On Fri, May 29, 2009 at 1:19 AM, Kris Jurka wrote: >> >>> To build against 8.4 you need pljava from CVS. Also pljava can only be >>> built with the 1.4 or 1.5 JDK, not with the 1.6 version you are using. >> >> is it a lot of work to make it 1.6 fr

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread Kris Jurka
Grzegorz Jaśkiewicz wrote: another question, what about tmdb ? it requires java6, so I assumed that jdbc is 1.6 friendly odd. I have no idea what "tmdb" is. JDK 1.6 includes the JDBC 4 API while 1.4 and 1.5 include the JDBC 3 API. So building pljava doesn't implement all of the JDBC 4 A

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread Kris Jurka
Grzegorz Jaśkiewicz wrote: On Fri, May 29, 2009 at 1:19 AM, Kris Jurka wrote: To build against 8.4 you need pljava from CVS. Also pljava can only be built with the 1.4 or 1.5 JDK, not with the 1.6 version you are using. is it a lot of work to make it 1.6 friendly ? can I help? It depends

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread Kris Jurka
David Fetter wrote: If you have access to a compiler but not CVS or git, you can get one of the daily tarballs. Are you *sure* you can't use CVS or git, though? The problem is pljava, not postgresql. pljava doesn't have a daily tarball or a git repo, so CVS is the only option at the moment.

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread Emanuel Calvo Franco
2009/5/29 David Fetter : > On Fri, May 29, 2009 at 09:48:42AM -0300, Emanuel Calvo Franco wrote: >> 2009/5/28 Kris Jurka : >> > >> > >> > On Wed, 27 May 2009, Emanuel Calvo Franco wrote: >> > >> >> Hi community, >> >> >> >> I'm trying to compile pl/java sources for 8.4 beta1 (for a test) >> >> but

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread David Fetter
On Fri, May 29, 2009 at 09:48:42AM -0300, Emanuel Calvo Franco wrote: > 2009/5/28 Kris Jurka : > > > > > > On Wed, 27 May 2009, Emanuel Calvo Franco wrote: > > > >> Hi community, > >> > >> I'm trying to compile pl/java sources for 8.4 beta1 (for a test) > >> but it gives me 20 errors at the end: >

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread Grzegorz Jaśkiewicz
another question, what about tmdb ? it requires java6, so I assumed that jdbc is 1.6 friendly odd. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread Grzegorz Jaśkiewicz
On Fri, May 29, 2009 at 1:19 AM, Kris Jurka wrote: > > To build against 8.4 you need pljava from CVS.  Also pljava can only be > built with the 1.4 or 1.5 JDK, not with the 1.6 version you are using. is it a lot of work to make it 1.6 friendly ? can I help? -- GJ -- Sent via pgsql-general m

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread Emanuel Calvo Franco
2009/5/28 Kris Jurka : > > > On Wed, 27 May 2009, Emanuel Calvo Franco wrote: > >> Hi community, >> >> I'm trying to compile pl/java sources for 8.4 beta1 (for a test) but >> it gives me 20 errors at the end: > > To build against 8.4 you need pljava from CVS.  Also pljava can only be > built with t

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-28 Thread Kris Jurka
On Wed, 27 May 2009, Emanuel Calvo Franco wrote: Hi community, I'm trying to compile pl/java sources for 8.4 beta1 (for a test) but it gives me 20 errors at the end: To build against 8.4 you need pljava from CVS. Also pljava can only be built with the 1.4 or 1.5 JDK, not with the 1.6 vers

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-28 Thread Craig Ringer
Emanuel Calvo Franco wrote: > Hi community, > > I'm trying to compile pl/java sources for 8.4 beta1 (for a test) but > it gives me 20 errors at the end: Which compiler and JDK are you using? ... and no, there isn't really any way to ignore the lib version; it wouldn't work, because 8.3 and 8.4 a