> 1. java version "1.4.2_04"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.4.2_04-b05)
> Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
Ok. This version should be good enough to build or run sqlitejdbc, but not
perform the Junit tests because they rely on new Java features introduced
in 1.5.
> > > [EMAIL PROTECTED] /home/Homedev/jdbcTest> export LD_LIBRARY_PATH=.
> > > [EMAIL PROTECTED] /home/Homedev/jdbcTest> java -cp sqlitejdbc-v036-
> > > native.jar:. Foo
> > > Exception in thread "main" java.lang.NoClassDefFoundError: org/ibex/
> > > nestedvm/Runtime$CallJavaCB
> >
> > The above error suggests that sqlitejdbc-v036-native.jar was not built
> > correctly. Did you build it yourself or is it from the website?
>
> jar file from Windows
It may be that the native jar file excludes the nestedvm classes.
It did not find the sqlitejdbc shared library and tried to fall back
on the NestedDB class.
> > Can you use any sqlitejdbc-v036-native.jar from the website instead?
> > They should be the same from either Windows or the Mac tar files.
> >
> > Try it with and without the Solaris sqlitejdbc shared library in the
> > same directory. Do a "chmod +x" on the solaris shared library just in case.
>
> chmod was set also before
Just for the heck of it, try putting sqlitejdbc-v036-nested.jar, the
/usr/bin/javac compiled Foo.class and your solaris libsqlitejdbc.so in
the same directory on Solaris and running this with Java 1.4.2:
LD_LIBRARY_PATH=. /usr/bin/java -cp sqlitejdbc-v036-nested.jar:. Foo
But even if it runs, the only way you can tell if it is using the native
shared library is with 'truss', I suspect. Well, and the speed should be
faster on a big select or insert.
> > I'm not sure why you're getting a different error here when it
> > worked fine above. What happens when you use the Foo.class
> > file from the successful run (i.e., compile using /usr/bin/javac),
> > but run it with /usr/jdk1.5.0_12/bin/java ?
> >
>
> Well still got the same error.
That makes no sense at all.
There's something wrong with the Solaris Java 1.5 install or environment.
It should run as your Java 1.4 test ran.
> > I don't think this stuff is an sqlitejdbc problem, but a problem with
> > your solaris environment or java setup.
> >
> Well the native created jar file is not corrupt because I tested it on
> windows and works fine.
> Hmm me and me chef are looking then on solaris installation and
> configuration and java to look on that. Many thx for your help
I'm out of ideas.
Good luck.
____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://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]
-~----------~----~----~----~------~----~------~--~---