Wrote a small class to test installed TimesTen.
Class.forName("com.timesten.jdbc.TimesTenDriver");
String clientURL = "jdbc:timesten:client:dsn=testdb_1122";
Connection connection = DriverManager.getConnection(URL, "scott", "scott");
connection.close();
When I run this program using command -
$ java -d64 -cp .:orai18n.jar:timestenjmsxla.jar:ttjdbc7.jar:ucp.jar -Djava.library.path=. TimesTen
I get following error -
Exception in thread "main" java.sql.SQLException: Problems with loading native library/missing methods: /usr/oracle/TimesTen/tt1122/lib/libttJdbcCS.so: libttclient.so: cannot open shared object file: No such file or directory
at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1809)
at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:305)
at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:161)
at java.sql.DriverManager.getConnection(DriverManager.java:579)
at java.sql.DriverManager.getConnection(DriverManager.java:221)
at TimesTen.main(TimesTen.java:16)
The mentioned native library files are there in the path mentioned in the error message. What could be wrong? Thanks for your help in advance.