-/*
- * 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;
/* 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