title: How to install a Java ME app on Samsung phone?
body: <p>My phone is supposed to be able to run: JavaTM: MIDP 2.0, CLDC 1.1 based apps. However, no matter which app I try to install on it, I get the error: <code>Downloaded JAR are invalid</code></p>
  
  <p>I've tried to build Java ME projects on Netbeans, using MIDP 2.0 and CLDC 1.1 as specified. The apps are simple, using the auto generated code that comes with Netbeans, to display a hello world message. It works in the emulator however when I transfer the .JAR to the mobile, I get the above error.</p>
  
  <p><a href="http://developer.samsung.com/deviceSpecsView.do?compareModel0=&amp;compareModel1=&amp;compareModel2=&amp;compareCdn0=&amp;compareCdn1=&amp;compareCdn2=&amp;compareModel=&amp;platformId=3&amp;osVersion=&amp;pageSize=50&amp;sortingType=1&amp;pageNum=1&amp;modelCode=GT-C3222FIASER" rel="nofollow">This</a> is the model and specifications of the phone.</p>
  
  <p>Does anyone who developed any Java ME apps for this or any similar Samsung phones, have any idea of what I need to do?</p>
  
  <p>Edit: Contents of jad file:</p>
  
  <pre><code>MIDlet-1: Midlet, , hello.Midlet
  MIDlet-Jar-Size: 1565
  MIDlet-Jar-URL: MobileApplication1.jar
  MIDlet-Name: MobileApplication1
  MIDlet-Vendor: Vendor
  MIDlet-Version: 1.0
  MicroEdition-Configuration: CLDC-1.1
  MicroEdition-Profile: MIDP-2.0
  </code></pre>