高级算法模块代码调整
This commit is contained in:
@@ -26,7 +26,7 @@ public class JnaCallDllOrSo {
|
|||||||
int beginIndex = os != null && os.startsWith("Windows") ? 1 : 0;
|
int beginIndex = os != null && os.startsWith("Windows") ? 1 : 0;
|
||||||
if(beginIndex == 0){
|
if(beginIndex == 0){
|
||||||
//linux操作系统
|
//linux操作系统
|
||||||
this.nameDll = "lib"+name+"_dll.os";
|
this.nameDll = "lib"+name+"_dll.so";
|
||||||
this.path = URLDecoder.decode(this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath(), "UTF-8");
|
this.path = URLDecoder.decode(this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath(), "UTF-8");
|
||||||
}else {
|
}else {
|
||||||
this.nameDll = name+".dll";
|
this.nameDll = name+".dll";
|
||||||
|
|||||||
Reference in New Issue
Block a user