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