X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6a87962ff2bd64e3c863ea894dd745647e380c93..5b3677b425b9cc6949c1573d59ac772540cbf4b2:/src/bindings/java/org/simgrid/trace/Trace.java diff --git a/src/bindings/java/org/simgrid/trace/Trace.java b/src/bindings/java/org/simgrid/trace/Trace.java index 7943ed40cd..2a14056ea1 100644 --- a/src/bindings/java/org/simgrid/trace/Trace.java +++ b/src/bindings/java/org/simgrid/trace/Trace.java @@ -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