fbpx

Java Snippet Code - 自動依照 CPU 位元從 Jar 檔產生對應的 DLL 提供 JNI 使用


將 Jar 檔中的 Resource 複製到 library path 中,好讓不同位元的機器能夠載入正確的 Library。

以下為 Java 片段程式碼: