`
shukuiyan
  • 浏览: 413273 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path

阅读更多

    Myeclipse 8.5中,web项目部署到resin上运行时,报错:java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path。


    解决方法一:将D:\oracle\product\10.2.0\client_1\BIN 下的ocijdbc10.dll复制到C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin下,再次运行。


    解决方法二:在myeclipse中,window-preferences-servers-resin-resin 3.x- optional program arguments添加:-Djava.library.path=D:\oracle\product\10.2.0\client_1\BIN


    解决方法三:右击项目-properties- java build path- source - 点击里面的一个folder,子目录下有native library location, 点击右侧 link source,链接到要添加的目录:D:\oracle\product\10.2.0\client_1\BIN


(in Project properties->Java Build Path->Tab "Source" there's a list of your source-folders

For each entry, there's "Native library locations", which also supports paths within the workspace.

This will make Eclipse add it to your java.library.path.

from :http://stackoverflow.com/questions/957700/how-to-set-the-java-library-path-from-eclipse)

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics