I have installed Oracle TimesTen client on my Mac and Oracle TimesTen Server on a RedHat machine which I can connect remotely from command line
connect "dsn=TT1122;UID=uid;PWD=pwd";
I got successful connection back.
Now I want to use JDBC to try and connect to the same ODBC. but I got this error back.
java.sql.SQLException: Problems with loading native library/missing methods: no ttJdbcCS in java.library.path
at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1757)
at com.timesten.jdbc.TimesTenDataSource.getConnection(TimesTenDataSource.java:148)
at TimesTen.main(TimesTen.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
I'm using OSX Lion and IntelliJ. I have run ttenv.sh to setup the environment already. But I cannot seem to get JDBC to work. I search all over the Internet and found nothing that solve my problem.
Thanks