title: Calling a jar with different ways produce big memory Difference
body: <p><em>I made a java program and packaged it into a Folder(named <strong>Folder</strong>) and then maked a batch file which i use to call the jar file. Also into the added  the Java8_25 JRE.</em></p>
  
  <p><strong>Folder has (batch file,Java8_25 JRE,program.jar).</strong>
  Here is how i call the program from batch file:</p>
  
  <p>1.Way</p>
  
  <p>start  "C:/Program Files (x86)/Folder/Java8/lib/javaw.exe -jar" "C:/Program Files (x86)/Folder/program.jar" </p>
  
  <p><img src="https://i.stack.imgur.com/ynVLV.png" alt="enter image description here"></p>
  
  <p>2.Way</p>
  
  <p>start  Java8/lib/javaw.exe -jar  program.jar</p>
  
  <p><img src="https://i.stack.imgur.com/UfJYE.png" alt="enter image description here"></p>
  
  <p>The difference is enough big.Also i see that calling program with the 1 way  it is 64 bits and with the second way 32 bits although i opened it with the same Java8 JRE.</p>
  
  <p>1)Why is the first way calling 64 bit and not 32?</p>
  
  <p>2)Why so big difference in memory?</p>
  
  <p>I have also read questions related to this and i think 64 bit java cosumes more memory than 32 bit? but why is this happening here.</p>
  
  <p>(If it helps:Also i have 64 bit OS and when i enter eclipse prefer java 32 bits)</p>