Re: [JDBC] JDBC 7.1.2 compilation failed
Dave Cramer wrote: > > Which jdk are you using? > > Dave > Sorry for uncompleted information. I use jdk 1.1.7_v3 from blackdown and CAN'T CHANGE this [java version I mean]. Best regards, lwd. ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
Re: [JDBC] JDBC 7.1.2 compilation failed
I'm getting this same error here when I try to compile it with JDK1.18. I also get the following error when trying to compile with JDK1.3: Unable to initialize threads: cannot find class java/lang/Thread Does anyone know what's causing this? -- Jeremy [[EMAIL PROTECTED]] > I have built this without any trouble on RH7.0 > > binary is available at http://jdbc.fastcrypt.com > > The fact that the error is with the Class Blob suggests that you may not > have the classpath set properly. Blob is a class which was introduced in > jdk1.2. Which jdk are you using? > > Dave > > - Original Message - > From: "Laurentiu Drob" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, May 29, 2001 6:26 AM > Subject: [JDBC] JDBC 7.1.2 compilation failed > > >> After ./configure --with-java compilation (gmake) for 7.1.2 on RH 7.1 >> box failed with this error: >> >> [javac] >> /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] ^ >> [javac] >> /tmp/postgresql-7.1.2/src/interfaces/jdbc/example/blobtest.java:189: >> Method getBlob(java.lang.String) not found in interface >> java.sql.ResultSet. >> [javac] Blob b = rs.getBlob("a"); >> [javac]^ >> [javac] 2 errors >> >> Thanks for reading this. >> >> Regards, >> lwd. ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster
Re: [JDBC] JDBC 7.1.2 compilation failed
probably he is also using jdbc1 as i have tried to. this is a postgresql-jdbc bug, because it should not try to use any classes that were introduced only in jdk1.2 when one is using an older jdk, like my jdk1.1.8 on SGI IRIX. ciao, mark -- - Mark Rosa - Dipl. Arch. ETH Etekt Inc.co-create your home phone: ++41-1-4462-406 www: http://www.etekt.com mobile: ++41-76-390 06 37 fax: ++49-89-244 35 64 08 email: [EMAIL PROTECTED] www: http://www.yourcell.net/rosa - The information transmitted is intended only for the person or entity to which it is addressed and may contain confi- dential and/or privileged material. Any review, retrans- mission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
Re: [JDBC] JDBC 7.1.2 compilation failed
the same error already existed with 7.1.1, jdbc1 mark rosa -- - Mark Rosa - Dipl. Arch. ETH Etekt Inc.co-create your home phone: ++41-1-4462-406 www: http://www.etekt.com mobile: ++41-76-390 06 37 fax: ++49-89-244 35 64 08 email: [EMAIL PROTECTED] www: http://www.yourcell.net/rosa - The information transmitted is intended only for the person or entity to which it is addressed and may contain confi- dential and/or privileged material. Any review, retrans- mission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster
[JDBC] JDBC 7.1.2 compilation failed
After ./configure --with-java compilation (gmake) for 7.1.2 on RH 7.1 box failed with this error: [javac] /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] ^ [javac] /tmp/postgresql-7.1.2/src/interfaces/jdbc/example/blobtest.java:189: Method getBlob(java.lang.String) not found in interface java.sql.ResultSet. [javac] Blob b = rs.getBlob("a"); [javac]^ [javac] 2 errors Thanks for reading this. Regards, lwd. ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster