看板 java 關於我們 聯絡資訊
※ 引述《X13X (..........)》之銘言: : 寫了一個jni來用 可是在執行程式時卻說下列的錯誤 : 請問這是怎麼問題?? : Exception in thread "main" java.lang.UnsatisfiedLinkError: getCurrentVolume : at abs.PowerDown.getCurrentVolume(Native Method) : at votest.main(votest.java:13) 看起來是 link 階段的錯誤 你的 DDL 或是 .a .so 系統找不到 檢查一下有沒有在 path 變數找得到的地方 或是 LD_LIBRARY_PATH (? 忘了怎麼拼 ) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.161.127.140