That's interesting.  It appears that Sun has added several new 
abstract methods to the java.sql.Connection class in JDK 1.6.
You have to install JDK 1.5 and rebuild it to work around this problem.

It's odd that you can run a JDK 1.4/1.5 compiled sqlitejdbc jar file
in Java 1.6, but not compile it in JDK 1.6.  Maybe if you compiled
sqlitejdbc under JDK 1.6 with "javac -source 1.4 -target 1.4" it might 
work, but I doubt it.

I wonder how all the other JDBC drivers handle this JDK 1.5/1.6 driver
incompatibility mess.

--- Dan <[EMAIL PROTECTED]> wrote:
> Is till have some problems on compiling the jdbc driver on Solaris
> sparc9
> I installed curl installed new jdk6 and when I do a make I get these
> errors:
> 
> [EMAIL PROTECTED] /home/Homedev/sqlitejdbc-v036> make
> unzip -qo dl/sqlite-3.4.0.zip -d build/sqlite-3.4.0-Default-sun4u
> perl -pi -e "s/sqlite3_api;/sqlite3_api = 0;/g" \
>     build/sqlite-3.4.0-Default-sun4u/sqlite3ext.h
> rm build/sqlite-3.4.0-Default-sun4u/tclsqlite.c
> (cd build/sqlite-3.4.0-Default-sun4u; gcc -c -I/usr/jdk1.6.0_02/bin//
> include -O
> -fPIC -Ibuild/sqlite-3.4.0-Default-sun4u -Ibuild \
>     -DSQLITE_ENABLE_COLUMN_METADATA \
>     -DSQLITE_CORE \
>     -DSQLITE_OMIT_LOAD_EXTENSION *.c)
> javac -source 1.2 -target 1.2 -sourcepath src -d build src/org/sqlite/
> Codes.java
> javac -source 1.2 -target 1.2 -sourcepath src -d build src/org/sqlite/
> Conn.java
> src/org/sqlite/Conn.java:9: org.sqlite.Conn is not abstract and does
> not override abstract method
> createStruct(java.lang.String,java.lang.Object[]) in
> java.sql.Connection
> class Conn implements Connection
> ^
> src/org/sqlite/MetaData.java:5: org.sqlite.MetaData is not abstract
> and does not override abstract method
> getFunctionColumns(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
> in java.sql.DatabaseMetaData
> class MetaData implements DatabaseMetaData
> ^
> src/org/sqlite/Stmt.java:8: org.sqlite.Stmt is not abstract and does
> not override abstract method
> updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
> class Stmt extends RS implements Statement, Codes
> ^
> src/org/sqlite/PrepStmt.java:13: org.sqlite.PrepStmt is not abstract
> and does not override abstract method
> updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
> final class PrepStmt extends RS
>       ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 4 errors
> make: *** [build/org/sqlite/Conn.class] Error 1
> 
> Con somebody help me that i can compile the jdbc for solaris thx
> 
> On Aug 22, 2:24 pm, Joe Wilson <[EMAIL PROTECTED]> wrote:
> > --- Dan <[EMAIL PROTECTED]> wrote:
> > > Well when I do that it start but i get an error 127
> > > curl -odl/sqlite-3.4.0.zip \
> > >    http://www.sqlite.org/sqlite-source-3_4_0.zip
> > > make: curl: Command not found
> > > make: *** [dl/sqlite-3.4.0.zip] Error 127
> >
> > > What must I do that I can compile the jar file.
> >
> > Install curl and any other commands that are not found.



       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
http://farechase.yahoo.com/

--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to