开发者

Adding SQLite driver files to java directory in on my mac?

I am a new mac user and was wondering how I can add a jar file (the SQLite sqlite_jni.dll and sqlite.jar) to the systems jre files? the windows equivalent for me was to go in to the java directory and place the files in the bin and lib folder.

thanks and sorry i didn't phrase the question a lit开发者_StackOverflow中文版tle better.


Java on mac located in /System/Library/Frameworks/JavaVM.framework/, but I don't think it is a good place to add jar files. Just keep jars you need in classpath when you compile and/or run your application. Also, you can add CLASSPATH env variable in your .bash_profile|.bashrc which will point to the jars you need. But I recommend you to keep your settings locally for the application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜