Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add missing files for javadoc.
[simgrid.git] / src / bindings / java / org / simgrid / trace / Trace.java
index 7943ed4..425f708 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 
@@ -313,7 +302,7 @@ public final class Trace {
        /**
         * Set the value of a variable of a VM. 
         * 
-        * @param host
+        * @param vm
         * @param variable
         * @param value
         */