Problems with loading native library/missing methods: no ttJdbcCS in java.library.path

我的未来我决定 提交于 2020-01-15 06:58:50

问题


Iam facing one problem while connecting the timesten client to the server The SQL Exception which Iam getting is pasted below:-

Problems with loading native library/missing methods: no ttJdbcCS in java.library.path

I am working with MAC OS X 10.7.2 and my timesten client version is 11.2.1.0

I have also changed the Java Preferences from 64-bit to 32-bit but still whenever i tried to connect with the SQL Developer it gives me the above error.

Please help me as it is required for my graduation project!!!!


回答1:


I don't know OS X. On linux I use next

  • export LD_LIBRARY_PATH=/opt/TimesTen/timesten/lib/

(directory where ttJdbcCS.so located)

  • Java must be same "bithes" (32 or 64) as TimesTen installation



回答2:


I solved the by doing the following:-

The key things you need to be sure to do (in a terminal window) are:

  1. Be sure to . in the TimesTen environment script /bin/ttenv.sh to set the full TT environment.

  2. Change directory to SQLDeveloper.app/Contents/Resources/sqldeveloper

  3. Run 'sh sqldeveloper.sh -J-d32'

and all should be fine.

Thanks all for their help!!!!



来源:https://stackoverflow.com/questions/10459979/problems-with-loading-native-library-missing-methods-no-ttjdbccs-in-java-librar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!