Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Messing up with VM
[simgrid.git] / src / bindings / java / org / simgrid / msg / Msg.java
index 9c04644..cc1cb7d 100644 (file)
@@ -1,14 +1,11 @@
 /* JNI interface to C code for MSG. */
 
-/* Copyright (c) 2006-2014. The SimGrid Team.
- * All rights reserved.                                                     */
+/* Copyright (c) 2006-2017. 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.msg;
-import org.simgrid.NativeLib;
-
 
 public final class Msg {
 
@@ -43,6 +40,7 @@ public final class Msg {
        
        /** Tell the kernel that you want to use the energy plugin */
        public static final native void energyInit();
+       public static final native void fileSystemInit();
 
        /** Run the MSG simulation.
         *
@@ -61,9 +59,8 @@ public final class Msg {
 
        /** Example launcher. You can use it or provide your own launcher, as you wish
         * @param args
-        * @throws MsgException
         */
-       static public void main(String[]args) throws MsgException {
+       public static void main(String[]args) {
                /* initialize the MSG simulation. Must be done before anything else (even logging). */
                Msg.init(args);