Hi! I'm a rookie with SQL Anywhere and I need help (please) with an error I just got. I'm trying to create a connection from Java (using Eclipse on Windows XP) to my SQL Anywhere 11.0.1 database following the steps depicted here (option 5) but I get this error:
when the line DriverManager.registerDriver( (Driver) Class.forName( "sybase.jdbc.sqlanywhere.IDriver" ).newInstance() ); is executed. Can some kind soul give me a hand? Thank you very much! |
Well, forget my stupid question. I did not launch the server, so the connection was impossible to be performed. At least some other rookie will know that if you try to connect to a database not started you will get that error. Best regards! Welcome to this forum! And look: For answering your own - not stupid at all! - question you immediately are awarded with the "Enlightened" badge... a good start for a so-called rookie, methinks:)
(17 Aug '12, 10:17)
Volker Barth
1
It seems like you received the wrong exception for that to be the problem. If you had not started your server, you should have seen a SQLException about it. Instead, you have an UnsatisifiedLinkError. Is it possible you changed your library path too?
(19 Aug '12, 23:08)
Jonathan Baker
|