问题
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:
Be sure to . in the TimesTen environment script /bin/ttenv.sh to set the full TT environment.
Change directory to SQLDeveloper.app/Contents/Resources/sqldeveloper
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