Running jar from cmd
<p>I have seen a lot of posts and found lots of data on the net about this but I am still confused.</p>

<p>I have downloaded a .jar file and I need to increase its heap size. I have added the jre1.6/bin in the Path of Windows 64 bit and I run from cmd.</p>

<p>The problem arises that it says unable to access jar file. </p>

<p>Can anybody explain in some detail what should I do to run it from cmd. Do i need  to add the location of jar file into the Path too ?? Also I have noticed that in many posts they tell to change the classpath but I have'nt done anything as such. </p>

<p>Do tell if you need any extra information.</p>

<p>------------------------------- (Update)</p>

<p>This is really wierd ..... I did it what was mentioned in here and now the program loads and then exits with Out of memory error saying that it needs more heap size even though it was working before with 128 m heap size. This happens when I increase it to 1024m. Can anybosy explain why the error could have come. I have 3GB Ram so I don't understand it.....</p>
