X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fe436f73138dec14b5268e3aaa7b9ab2357fc102..281f8c29e177852dcb1591fc31e363e1176857c8:/src/bindings/java/org/simgrid/msg/Msg.java diff --git a/src/bindings/java/org/simgrid/msg/Msg.java b/src/bindings/java/org/simgrid/msg/Msg.java index c06adb312a..93409c5cf8 100644 --- a/src/bindings/java/org/simgrid/msg/Msg.java +++ b/src/bindings/java/org/simgrid/msg/Msg.java @@ -1,7 +1,7 @@ /* * JNI interface to C code for MSG. * - * Copyright 2006-2012 The SimGrid Team. + * Copyright (c) 2006-2013. The SimGrid Team. * All right reserved. * * This program is free software; you can redistribute @@ -25,11 +25,11 @@ public final class Msg { return; try { /* prefer the version on disk, if existing */ - System.loadLibrary("SG_java"); + System.loadLibrary("simgrid-java"); } catch (UnsatisfiedLinkError e) { /* If not found, unpack the one bundled into the jar file and use it */ loadLib("simgrid"); - loadLib("SG_java"); + loadLib("simgrid-java"); } isNativeInited = true; } @@ -192,6 +192,8 @@ public final class Msg { */ public final static native void createEnvironment(String platformFile); + public final static native As environmentGetRoutingRoot(); + /** * The method to deploy the simulation. *