Thread: jdbc1 for 7.1.2 still not worked for me :((

jdbc1 for 7.1.2 still not worked for me :((

From
Laurentiu Drob
Date:
 I tried with jdk118_v3 (glibc 2.1.3) from the same blackdown. The
result was the same :

/tmp/postgresql-7.1.2/src/interfaces/jdbc/example/blobtest.java:189:
Class example.Blob not found in type declaration.
    [javac]             Blob b = rs.getBlob("a");
    [javac]             ^


Then I renamed blobtest.java in blobtest.java2, switched back to
jdk117_v3 and I've got more errors:

    [javac] Compiling 22 source files to
/tmp/postgresql-7.1.2/contrib/retep/build
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DCollection.java:7:
Class java.util.Collection not found in import.
    [javac] import java.util.Collection;
    [javac]        ^
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DCollection.java:8:
Class java.util.Iterator not found in import.
    [javac] import java.util.Iterator;
    [javac]        ^
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DCollection.java:10:
Interface java.util.Collection of class uk.org.retep.dtu.DCollection not
found.
    [javac] public class DCollection implements Collection
    [javac]                                     ^
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DCollection.java:78:
Interface java.util.Iterator of inner class
uk.org.retep.dtu.DCollection. iterator not found.
    [javac]   protected class iterator implements Iterator
    [javac]                                       ^
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DEnvironment.java:3:
Class java.util.Collection not found in import.
    [javac] import java.util.Collection;
    [javac]        ^
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DEnvironment.java:4:
Class java.util.HashMap not found in import.
    [javac] import java.util.HashMap;
    [javac]        ^
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DEnvironment.java:5:
Class java.util.Iterator not found in import.
    [javac] import java.util.Iterator;
    [javac]        ^
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/xml/parser/TagListener.java:3:
Class java.util.HashMap not found in import.
    [javac] import java.util.HashMap;
    [javac]        ^
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DModule.java:10:
Class java.util.HashMap not found in import.
    [javac] import java.util.HashMap;
    [javac]        ^
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DModule.java:11:
Class java.util.Iterator not found in import.
    [javac] import java.util.Iterator;
    [javac]        ^
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/xml/parser/TagHandler.java:5:
Class java.util.List not found in import.
    [javac] import java.util.List;
    [javac]        ^
    [javac]
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/xml/parser/TagHandler.java:6:
Class java.util.Iterator not found in import.
    [javac] import java.util.Iterator;
    [javac]        ^

I'd like both  jdk117_v3 and postgresql 7.1.2 work together.
Any ideas?

    Thanks,
       lwd.

Re: jdbc1 for 7.1.2 still not worked for me :((

From
"Dave Cramer"
Date:
Hi,

You will need to get the latest source out of cvs for the build to work.

I have precompiled jars at http://jdbc.fastcrypt.com

which you can download

Regards,

Dave

----- Original Message -----
From: "Laurentiu Drob" <lwd@cfrcta.ro>
To: <pgsql-jdbc@postgresql.org>
Sent: Friday, June 01, 2001 2:28 AM
Subject: [JDBC] jdbc1 for 7.1.2 still not worked for me :((


> I tried with jdk118_v3 (glibc 2.1.3) from the same blackdown. The
> result was the same :
>
> /tmp/postgresql-7.1.2/src/interfaces/jdbc/example/blobtest.java:189:
> Class example.Blob not found in type declaration.
>     [javac]             Blob b = rs.getBlob("a");
>     [javac]             ^
>
>
> Then I renamed blobtest.java in blobtest.java2, switched back to
> jdk117_v3 and I've got more errors:
>
>     [javac] Compiling 22 source files to
> /tmp/postgresql-7.1.2/contrib/retep/build
>     [javac]
> /tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DCollection.java:7:
> Class java.util.Collection not found in import.
>     [javac] import java.util.Collection;
>     [javac]        ^
>     [javac]
> /tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DCollection.java:8:
> Class java.util.Iterator not found in import.
>     [javac] import java.util.Iterator;
>     [javac]        ^
>     [javac]
> /tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DCollection.java:10:
> Interface java.util.Collection of class uk.org.retep.dtu.DCollection not
> found.
>     [javac] public class DCollection implements Collection
>     [javac]                                     ^
>     [javac]
> /tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DCollection.java:78:
> Interface java.util.Iterator of inner class
> uk.org.retep.dtu.DCollection. iterator not found.
>     [javac]   protected class iterator implements Iterator
>     [javac]                                       ^
>     [javac]
> /tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DEnvironment.java:3:
> Class java.util.Collection not found in import.
>     [javac] import java.util.Collection;
>     [javac]        ^
>     [javac]
> /tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DEnvironment.java:4:
> Class java.util.HashMap not found in import.
>     [javac] import java.util.HashMap;
>     [javac]        ^
>     [javac]
> /tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DEnvironment.java:5:
> Class java.util.Iterator not found in import.
>     [javac] import java.util.Iterator;
>     [javac]        ^
>     [javac]
>
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/xml/parser/TagListener.java
:3:
> Class java.util.HashMap not found in import.
>     [javac] import java.util.HashMap;
>     [javac]        ^
>     [javac]
> /tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DModule.java:10:
> Class java.util.HashMap not found in import.
>     [javac] import java.util.HashMap;
>     [javac]        ^
>     [javac]
> /tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/dtu/DModule.java:11:
> Class java.util.Iterator not found in import.
>     [javac] import java.util.Iterator;
>     [javac]        ^
>     [javac]
>
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/xml/parser/TagHandler.java:
5:
> Class java.util.List not found in import.
>     [javac] import java.util.List;
>     [javac]        ^
>     [javac]
>
/tmp/postgresql-7.1.2/contrib/retep/uk/org/retep/xml/parser/TagHandler.java:
6:
> Class java.util.Iterator not found in import.
>     [javac] import java.util.Iterator;
>     [javac]        ^
>
> I'd like both  jdk117_v3 and postgresql 7.1.2 work together.
> Any ideas?
>
> Thanks,
>    lwd.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>