Thread: Re: Request for 7.0 JDBC status

Re: Request for 7.0 JDBC status

From
Thomas Lockhart
Date:
> I am unable to compile the java code with kaffe.  Can anyone compile
> jdbc under 7.0?

Yup. Seems some form of jdk-1.2 works for me. But my default
/usr/bin/javac (on an old RH5.2 system), something called "pizza",
does not.

>  Can you email me that java files that are produced by
> the compile.  I need the *.jar file, and the *.class files.

Do you still need them? I can send what I built, but I'm pretty sure
that Peter Mount has a fresh package built and available on some web
site of his...
                   - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


Re: Request for 7.0 JDBC status

From
Lamar Owen
Date:
Thomas Lockhart wrote:
> >  Can you email me that java files that are produced by
> > the compile.  I need the *.jar file, and the *.class files.
> Do you still need them? I can send what I built, but I'm pretty sure
> that Peter Mount has a fresh package built and available on some web
> site of his...

If so, I need them (Java 1 and 2) for the RPM's.  I don't do Java -- and
the RPM's have historically packaged the .jar files as pulled verbatim
from retep.org.uk.  I haven't distributed RC2 RPM's yet for partially
that reason
-- the other part is the lack of an RC2-tested alpha patch.

NOTE:
I have gotten good response and patches to the RPM's from a number of
people this go around -- and it is ENCOURAGING!

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


Re: Request for 7.0 JDBC status

From
Bruce Momjian
Date:
> > I am unable to compile the java code with kaffe.  Can anyone compile
> > jdbc under 7.0?
> 
> Yup. Seems some form of jdk-1.2 works for me. But my default
> /usr/bin/javac (on an old RH5.2 system), something called "pizza",
> does not.
> 
> >  Can you email me that java files that are produced by
> > the compile.  I need the *.jar file, and the *.class files.
> 
> Do you still need them? I can send what I built, but I'm pretty sure
> that Peter Mount has a fresh package built and available on some web
> site of his...

I did get it working using Peter's 6.5.2 jar file.  I was not setting
the CLASSPATH to be the full file path.  I was setting it just to the
directory, which was my fault.  Peter's FAQ for jdbc helped me get it
working.

Peter E. sent me a jar file, but it used postgresql as the domain unstead
of org.postgresql, so it seems that is the 6.5.2 version too.  Peter's web
site does not have the 7.0 jar file there yet.

However, it seems kaffe can't compile self-referencing java files.  I
don't know enough about java to know that is a problem or not.

I did get it working well enough to get my java book example working.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: Request for 7.0 JDBC status

From
Thomas Lockhart
Date:
> If so, I need them (Java 1 and 2) for the RPM's.  I don't do Java -- and
> the RPM's have historically packaged the .jar files as pulled verbatim
> from retep.org.uk.  I haven't distributed RC2 RPM's yet for partially
> that reason

"I don't do Java" can change fairly easily; just pick up the java
tarball from blackdown.org or sun.com, untar it into /usr/local, then
set your path via
 set path=(/usr/local/jdk-xxx $path)

Go into src/interfaces/jdbc and type
 make jdbc2

then grab the jar file(s).

otoh, how close are you Peter (hope you see this; I've blown away
enough email to have lost your address) to posting a built jar file or
whatever is usually provided? Should we post this somewhere on
postgresql.org to help out? Should I post my recently built stuff?

> NOTE:
> I have gotten good response and patches to the RPM's from a number of
> people this go around -- and it is ENCOURAGING!

Great!
                    - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


Re: Request for 7.0 JDBC status

From
Thomas Lockhart
Date:
> otoh, how close are you Peter (hope you see this; I've blown away
> enough email to have lost your address) to posting a built jar file or
> whatever is usually provided? Should we post this somewhere on
> postgresql.org to help out? Should I post my recently built stuff?

Ah, found Peter's e-mail address in an obvious place (the jdbc source
tree).

Another question for Peter: would it be possible to update the README
file in the source tree, and other ancillary files? I know you've been
very busy, but even a brief fixup to adjust dates and version numbers
would be helpful for 7.0.
                     - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California