Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't cleanup java directory for now (debugging time)
[simgrid.git] / src / bindings / java / org / simgrid / NativeLib.java
index 54dad77..4f4de1c 100644 (file)
@@ -22,6 +22,8 @@ public final class NativeLib {
                        arch = "x86";
                else if (arch.equalsIgnoreCase("x86_64"))
                        arch = "amd64";
+               else if (arch.equalsIgnoreCase("AMD64"))
+                       arch = "amd64";
 
                if (os.toLowerCase().startsWith("win")){
                        os = "Windows";
@@ -108,7 +110,7 @@ public final class NativeLib {
                }
                public void run() {
                        try {
-                               new File(target).delete();
+                               //new File(target).delete();
                        } catch(Exception e) {
                                System.out.println("Unable to clean temporary file "+target+" during shutdown.");
                                e.printStackTrace();