2 .jar files not interacting with each other
<p>I have recently been adding an updater to my Java programm and all the code is working.  The problem I am having however is that the initial program doesn't go on to run the second .jar file or even run the file in NetBeans and just shuts down instead.</p>

<p>I believe this bit of code to be the thing that isn't working but I have done a tonne of System.out's and it just runs straight through the code without running the second programme:</p>

<pre><code>private void update() {
    String[] run = {"java", "-jar", "updater/update.jar"};
    try {
        Runtime.getRuntime().exec(run);
    } catch (Exception ex) {
        ex.printStackTrace();
    }
    System.exit(0);
}
</code></pre>

<p>My folders/files are in this path:</p>

<pre><code>LibTiles.jar   (initial file that runs this code)
updater/update.jar
</code></pre>

<p>Can anyone see any errors or have I done something wrong in another place?</p>
