title: How to make a Java program be opened by default with Java, on any computer
body: <p>When I send Java games I created to friends, the JAR file I send them often looks like a RAR file to them. This is because Windows on their computers thinks this file should be opened by WinRar.</p>
  
  <p>They have JRE on their computers, but the default on Windows is that the file they recieve should be opened by WinRar.</p>
  
  <p>The people I send my program can't be expected to guess, that what they need to do is specifically tell Windows to open the file with Java.</p>
  
  <p>Is there a way to make it so that a JAR file I send to somebody, will be opened on his/her computer by default using the JRE?</p>
  
  <p>Thanks a lot</p>