Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add/update copyright notices.
[simgrid.git] / src / bindings / java / org / simgrid / trace / Trace.java
index 7943ed4..2a14056 100644 (file)
@@ -1,13 +1,11 @@
-/*
- * JNI interface to C code for the TRACES part of SimGrid.
- * 
- * Copyright 2012 The SimGrid Team.           
- * All right reserved. 
- *
- * This program is free software; you can redistribute 
- * it and/or modify it under the terms of the license 
- * (GNU LGPL) which comes with this package.
- */
+/* JNI interface to C code for the TRACES part of SimGrid. */
+
+/* Copyright (c) 2012-2014. The SimGrid Team.
+ * All rights reserved.                                                     */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
 package org.simgrid.trace;
 
 import org.simgrid.msg.Msg;
@@ -16,15 +14,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