Skip to content
Snippets Groups Projects
Commit 279c3932 authored by momo's avatar momo
Browse files

get correct library

parent 6773d011
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ private static String getPlatform() { ...@@ -92,7 +92,7 @@ private static String getPlatform() {
os = "linux"; //NON-NLS os = "linux"; //NON-NLS
} }
// os.arch represents the architecture of the JVM, not the os // os.arch represents the architecture of the JVM, not the os
String arch = System.getProperty("os.arch"); String arch = System.getProperty("os.arch").endsWith("64") ? "x86_64" : "x86";
return arch.toLowerCase() + "/" + os.toLowerCase(); return arch.toLowerCase() + "/" + os.toLowerCase();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment