在64位的linux系统下通过java连接TimesTen,出现如下错误:
Problems with loading native library/missing methods: no ttJdbcCS in java.library.path
解决办法:
1. 添加$TT_HOME/lib到LD_LIBRARY_PATH(Linux)/
SHLIB_PATH (UNIX)
例如:
vi /etc/profile
export LD_LIBRARY_PATH=/opt/oracle/TimesTen/tt11/lib:$LD_LIBRARY_PATH
2.
检查TimesTen $TT_HOME/lib权限
3.
如果TimesTen运行在64位下,在启动参数上加上java -d64 …
转载请注明:爱开源 » TimesTen 连接异常