I am not familiar with Java, but I am familiar with compatibility
differences between Linux and Windows.
According to the errors, I think SQLite is having trouble opening the
file that contains the DB.
Have you verified the file is there? And you may have to adjust the
PATH to the file on disk
windows path style: C:\some\directory\file.db
linux path style: /some/directory/file.db

Good luck!

On Thu, Feb 5, 2009 at 2:01 PM, João Claudio <[email protected]> wrote:
> hi, i am from Brazil.
> I a beginner in SQLite (and English)
> But i will try explain my problem.
> I have a application in Java (i use the IDE NetBeans)..
> I test my application (jar file) in the Linux and Windows XP.
> In Windows it's OK, BUT in Linux i have a error message.
> I think the error happen when the application try to create the database.
> The error message:
> Exception in thread "main" java.lang.UnsatisfiedLinkError: 
> org.sqlite.NativeDB._open(Ljava/lang/String;)V
>         at org.sqlite.NativeDB._open(Native Method)
>         at org.sqlite.DB.open(DB.java:77)
>         at org.sqlite.Conn.<init>(Conn.java:88)
>         at org.sqlite.JDBC.connect(JDBC.java:64)
>         at java.sql.DriverManager.getConnection(DriverManager.java:620)
>         at java.sql.DriverManager.getConnection(DriverManager.java:222)
>         at persistencia.Conexao.setUp(Conexao.java:12)
>
> The line-code of the error:
> Connection con = 
> DriverManager.getConnection("jdbc:sqlite:.joaomoro-desktop-base.db");
>
> I can connect in databse through of window SERVICES, but I can't understand 
> because my
> aplication can't connect.
>
> It occurs in Linux (in Windows is all OK).
>
>
>      Veja quais são os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
When Earth was the only inhabited planet in the Galaxy, it was a
primitive place, militarily speaking.  The only weapon they had ever
invented worth mentioning was a crude and inefficient nuclear-reaction
bomb for which they had not even developed the logical defense. -
Asimov
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to