title: Issue creating Mrjar
body: <p>I am trying to create a multi release jar in windows 10 using two projects built with Netbeans. The projects are the same, only difference is one has jdk8 under properties > sources/libraries and the other has jdk9.
  They both have a <em>com.jdojo.mrjar</em> package and under it they both have a TimeUtil class </p>
  
  <pre><code>public class TimeUtil {
      public TimeUtil() {
          System.out.println("Creating JDK 8 version of TimeUtil...");
      }
      public LocalDate getLocalDate(Instant now){
          return now.atZone(ZoneId.systemDefault()).toLocalDate();
      }
  }
  </code></pre>
  
  <p>And a simple main class to call it</p>
  
  <pre><code>public class Main {
      public static void main (String[] args) {
          System.out.println("Inside JDK 8 version of Main.main([])...");
          TimeUtil t = new TimeUtil();
          LocalDate ld = t.getLocalDate(Instant.now());
          System.out.println("Local Date: "+ld);
      }
  }
  </code></pre>
  
  <p>The jdk9 version has also a <code>module-info.java</code>:</p>
  
  <pre><code>module com.jdojo.mrjar {
      exports com.jdojo.mrjar;
  }
  </code></pre>
  
  <p>They both compile and run properly but when i try the command 
  <strong>jar --create --file mrjars\com.jdojo.mrjar.jar -C com.jdojo.mrjar.jdk8\build\classes . --release 9 -C com.jdojo.mrjar.jdk9\build\classes .</strong> I have the following error :</p>
  
  <pre><code>Warning: entry META-INF/versions/9/.netbeans_automatic_build contains a class that
  is identical to an entry already in the jar
  Warning: entry META-INF/versions/9/.netbeans_update_resources contains a class that
  is identical to an entry already in the jar
  java.nio.file.NoSuchFileException: C:\Users\Talon\AppData\Local\Temp\com.jdojo.mrjar.jar15612736007782051855.jar -&gt; mrjars\com.jdojo.mrjar.jar
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:384)
      at java.base/sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:288)
      at java.base/java.nio.file.Files.move(Files.java:1413)
      at jdk.jartool/sun.tools.jar.Main.validateAndClose(Main.java:460)
      at jdk.jartool/sun.tools.jar.Main.run(Main.java:343)
      at jdk.jartool/sun.tools.jar.Main.main(Main.java:1670)
  </code></pre>
  
  <p>As of <a href="https://stackoverflow.com/questions/45500592/how-to-create-multi-release-jar-and-filtering-input-content">How to create multi-release jar and filtering input content?</a>, if i try the suggested solution i have</p>
  
  <pre><code>$(find : no such file or directory
  -name : no such file or directory
  *.class) : no such file or directory
  </code></pre>
  
  <p>So i've simply removed the <code>.netbeans_automatic_build</code> and <code>.netbeans_update_resources</code> files from the folders since they seemed to be the cause of the problem, if i try the command now i have a different error </p>
  
  <pre><code>java.nio.file.NoSuchFileException: C:\Users\Talon\AppData\Local\Temp\com.jdojo.mrjar.jar12504656669179695067.jar -&gt; mrjars\com.jdojo.mrjar.jar
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:384)
      at java.base/sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:288)
      at java.base/java.nio.file.Files.move(Files.java:1413)
      at jdk.jartool/sun.tools.jar.Main.validateAndClose(Main.java:460)
      at jdk.jartool/sun.tools.jar.Main.run(Main.java:343)
      at jdk.jartool/sun.tools.jar.Main.main(Main.java:1670)
  </code></pre>
  
  <p>I've checked the folder and yes <code>com.jdojo.mrjar.jar12504656669179695067.jar</code> is not there, the question is why it should be ?</p>