Sorry that I answer to my reply but I resolved that problem but now I
get an other problem on compiling my jdbc driver for solaris sparc9.

Well the previous problem I olved it so:
I downloaded the junit4.4.jar file from the internet and extract it
that I copied it to the build directory created by the makefile. I
started again the compiliation and the compiler starts again for a
while and then I got these errors: Not listed all erroes because it
would be to large it are 183 listed errors :(

Output that I receive with the errors:
[EMAIL PROTECTED] /home/Homedev/sqlitejdbc-v036> make
javah -classpath build -jni -o build/NativeDB.h org.sqlite.NativeDB
cd build && jar cf sqlitejdbc-v036-native.jar  org/sqlite/Codes.class
org/sqlite/Conn.class  org/sqlite/DB.class  org/sqlite/Function\
$Aggregate.class  org/sqlite/Function.class  org/sqlite/JDBC.class
org/sqlite/MetaData.class  org/sqlite/NativeDB.class  org/sqlite/
PrepStmt.class  org/sqlite/RS.class  org/sqlite/Stmt.class  org/sqlite/
Unused.class
gcc -I/usr/jdk1.5.0_12/include -O -fPIC -Ibuild/sqlite-3.4.0-Default-
sun4u -Ibuild -I/usr/jdk1.5.0_12/include/solaris -c -O -o build/
Default-sun4u/NativeDB.o \
        src/org/sqlite/NativeDB.c
gcc -I/usr/jdk1.5.0_12/include -O -fPIC -Ibuild/sqlite-3.4.0-Default-
sun4u -Ibuild -I/usr/jdk1.5.0_12/include/solaris -shared -o build/
Default-sun4u/libsqlitejdbc.so \
build/Default-sun4u/NativeDB.o build/sqlite-3.4.0-Default-sun4u/*.o
strip build/Default-sun4u/libsqlitejdbc.so
java -Djava.library.path=build/Default-sun4u \
    -cp "build/sqlitejdbc-v036-native.jar:build::" \
    org.junit.runner.JUnitCore test.ConnectionTest test.DBMetaDataTest
test.PrepStmtTest test.RSMetaDataTest test.StatementTest
test.TransactionTest test.UDFTest
JUnit version 4.4
.E.E.E..EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EEI.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EEI.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE.EE
Time: 0.955
There were 183 failures:
1) isClosed(test.ConnectionTest)
java.sql.SQLException: no SQLite library found
        at org.sqlite.Conn.<init>(Conn.java:55)
        at org.sqlite.JDBC.connect(JDBC.java:38)
        at java.sql.DriverManager.getConnection(DriverManager.java:
525)
        at java.sql.DriverManager.getConnection(DriverManager.java:
193)
        at test.ConnectionTest.isClosed(ConnectionTest.java:22)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
        at
org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:
98)
        at org.junit.internal.runners.MethodRoadie
$2.run(MethodRoadie.java:79)
        at
org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:
87)
        at
org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at
org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at
org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:
88)
        at
org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:
51)
        at org.junit.internal.runners.JUnit4ClassRunner
$1.run(JUnit4ClassRunner.java:44)
        at
org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:
27)
        at
org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:
37)
        at
org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:
42)
        at
org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:
33)
        at
org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:
28)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:130)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:109)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:100)
        at org.junit.runner.JUnitCore.runMain(JUnitCore.java:81)
        at org.junit.runner.JUnitCore.main(JUnitCore.java:44)
2) openMemory(test.ConnectionTest)
java.sql.SQLException: no SQLite library found
        at org.sqlite.Conn.<init>(Conn.java:55)
        at org.sqlite.JDBC.connect(JDBC.java:38)
        at java.sql.DriverManager.getConnection(DriverManager.java:
525)
        at java.sql.DriverManager.getConnection(DriverManager.java:
193)
        at test.ConnectionTest.openMemory(ConnectionTest.java:17)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
        at
org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:
98)
        at org.junit.internal.runners.MethodRoadie
$2.run(MethodRoadie.java:79)
        at
org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:
87)
        at
org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at
org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at
org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:
88)
        at
org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:
51)
        at org.junit.internal.runners.JUnit4ClassRunner
$1.run(JUnit4ClassRunner.java:44)
        at
org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:
27)
        at
org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:
37)
        at
org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:
42)
        at
org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:
33)
        at
org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:
28)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:130)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:109)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:100)
        at org.junit.runner.JUnitCore.runMain(JUnitCore.java:81)
        at org.junit.runner.JUnitCore.main(JUnitCore.java:44)
:
:
183) manyfunctions(test.UDFTest)
java.lang.NullPointerException
        at test.UDFTest.close(UDFTest.java:29)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.junit.internal.runners.MethodRoadie.runAfters(MethodRoadie.java:
138)
        at
org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:
92)
        at
org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at
org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at
org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:
88)
        at
org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:
51)
        at org.junit.internal.runners.JUnit4ClassRunner
$1.run(JUnit4ClassRunner.java:44)
        at
org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:
27)
        at
org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:
37)
        at
org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:
42)
        at
org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:
33)
        at
org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:
28)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:130)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:109)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:100)
        at org.junit.runner.JUnitCore.runMain(JUnitCore.java:81)
        at org.junit.runner.JUnitCore.main(JUnitCore.java:44)

FAILURES!!!
Tests run: 94,  Failures: 183

make: *** [test] Error 1
[EMAIL PROTECTED] /home/Homedev/sqlitejdbc-v036>






On Aug 28, 8:41 am, Dan <[EMAIL PROTECTED]> wrote:
> Hi again,
>
> well I installed java 1.5.0_12 and started the compilation well the
> error with the abstract classes is over :) but now i got this error:
> #make
> javah -classpath build -jni -o build/NativeDB.h org.sqlite.NativeDB
> cd build && jar cf sqlitejdbc-v036-native.jar  org/sqlite/Codes.class
> org/sqlite/Conn.class  org/sqlite/DB.class  org/sqlite/Function\
> $Aggregate.class  org/sqlite/Function.class  org/sqlite/JDBC.class
> org/sqlite/MetaData.class  org/sqlite/NativeDB.class  org/sqlite/
> PrepStmt.class  org/sqlite/RS.class  org/sqlite/Stmt.class  org/sqlite/
> Unused.class
> gcc -I/usr/jdk1.5.0_12//include -O -fPIC -Ibuild/sqlite-3.4.2-Default-
> sun4u -Ibuild -I/usr/jdk1.5.0_12/include/solaris -c -O -o build/
> Default-sun4u/NativeDB.o \
>         src/org/sqlite/NativeDB.c
> gcc -I/usr/jdk1.5.0_12//include -O -fPIC -Ibuild/sqlite-3.4.2-Default-
> sun4u -Ibuild -I/usr/jdk1.5.0_12/include/solaris -shared -o build/
> Default-sun4u/libsqlitejdbc.so \
> build/Default-sun4u/NativeDB.o build/sqlite-3.4.2-Default-sun4u/*.o
> strip build/Default-sun4u/libsqlitejdbc.so
> javac -target 1.5 -classpath "build::" -sourcepath src/test -d build
> src/test/ConnectionTest.java
> src/test/ConnectionTest.java:5: package org.junit does not exist
> import org.junit.*;
> ^
> src/test/ConnectionTest.java:6: package org.junit does not exist
> import static org.junit.Assert.*;
>                         ^
> src/test/ConnectionTest.java:12: cannot find symbol
> symbol  : class BeforeClass
> location: class test.ConnectionTest
>     @BeforeClass public static void forName() throws Exception {
>      ^
> src/test/ConnectionTest.java:16: cannot find symbol
> symbol  : class Test
> location: class test.ConnectionTest
>     @Test public void openMemory() throws SQLException {
>      ^
> src/test/ConnectionTest.java:21: cannot find symbol
> symbol  : class Test
> location: class test.ConnectionTest
>     @Test public void isClosed() throws SQLException {
>      ^
> src/test/ConnectionTest.java:27: cannot find symbol
> symbol  : class Test
> location: class test.ConnectionTest
>     @Test public void openFile() throws SQLException {
>      ^
> src/test/ConnectionTest.java:37: cannot find symbol
> symbol  : class Test
> location: class test.ConnectionTest
>     @Test(expected= SQLException.class)
>      ^
> src/test/ConnectionTest.java:24: cannot find symbol
> symbol  : method assertTrue(boolean)
> location: class test.ConnectionTest
>         assertTrue(conn.isClosed());
>         ^
> src/test/ConnectionTest.java:30: cannot find symbol
> symbol  : method assertFalse(boolean)
> location: class test.ConnectionTest
>         assertFalse(testdb.exists());
>         ^
> src/test/ConnectionTest.java:33: cannot find symbol
> symbol  : method assertTrue(boolean)
> location: class test.ConnectionTest
>         assertTrue(testdb.exists());
>         ^
> 10 errors
> make: *** [build/test/ConnectionTest.class] Error 1
>
> Well I understand that he can't fin the package or.junit but I don't
> know where I should copy the junit directory that I got from 
> thehttp://www.junit.org/index.htmsite.
>
> Thx in advance for your help
>
> On Aug 27, 6:46 pm, Dan <[EMAIL PROTECTED]> wrote:
>
> > Hmm ok.
>
> > Thx Joe so I know what I have to do tomorrow at first :)
> > Thx for your help.
>
> > On Aug 27, 6:31 pm, Joe Wilson <[EMAIL PROTECTED]> wrote:
>
> > > You have to use java 1.5 to build the v036 sources. No choice.
>
> > > If you add the new Java 1.6/JDBC 4.0 methods then your driver will only
> > > work with Java 1.6+.
>
> > > The new method definitions can be found 
> > > here:http://java.sun.com/javase/6/docs/api/java/sql/Connection.html
> > > etc.
>
> > > --- Dan <[EMAIL PROTECTED]> wrote:
> > > > Well i changed it to javac -source 1.5 -target 1.5 and also with 1.4
> > > > but it didn't worked :(
> > > > Then I tried to add all abstract methods but then there are some which
> > > > needs a return but what return will that be.
> > > > I think I will have to install tomorrow at work the java 1.5 and
> > > > compile it and try to see iw this compilation will work with the 1.6
> > > > because the jarfile of windows runs very good on java 1.6 with eclipse
> > > > for the tests and programmation.
>
> > >       
> > > ___________________________________________________________________________-_________
> > > Luggage? GPS? Comic books?
> > > Check out fitting gifts for grads at Yahoo! 
> > > Searchhttp://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz


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

Reply via email to