Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SG_java_tracing is not a separate library anymore.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Sat, 2 Feb 2013 15:04:04 +0000 (16:04 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Sat, 2 Feb 2013 23:40:55 +0000 (00:40 +0100)
src/bindings/java/org/simgrid/trace/Trace.java

index 7943ed4..3ad5f92 100644 (file)
@@ -16,15 +16,6 @@ public final class Trace {
        /* Statically load the library which contains all native functions used in here */
        static {
                Msg.nativeInit();
-               try {
-                       System.loadLibrary("SG_java_tracing");
-               } catch(UnsatisfiedLinkError e) {
-                       System.err.println("Cannot load the bindings to the simgrid library: ");
-                       e.printStackTrace();
-                       System.err.println(
-                                       "Please check your LD_LIBRARY_PATH, or copy the simgrid and SG_java_tracing libraries to the current directory");
-                       System.exit(1);
-               }
        }
 
        // TODO complete the binding of the tracing API