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 the
http://www.junit.org/index.htm site.

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