title: jar file directly opening and not installing mobile
body: <p>I am trying to create a java me application .
  The code is hello xxxx, its simple.</p>
  
  <p>But the <strong>problem is that when I port it to a nokia series 40 phone or an emulator,
  the .jad or .jar file opens directly</strong>, but in other series 60 phones like e72 or e63 it installs.</p>
  
  <pre><code>public class Hellostackoverflow extends MIDlet{
    private Form form;
    private Display display;
  
    public Hellostackoverflow(){
    super();
    }
  
    public void startApp(){
    form = new Form("Hello stackoverflow");
    String msg = "I love stackoverflow";
    form.append(msg);
    display = Display.getDisplay(this);
    display.setCurrent(form);
    }
  
    public void pauseApp(){}
  
    public void destroyApp(boolean unconditional){
    notifyDestroyed();
    }
  }
  </code></pre>
  
  <p><strong>But I want to install it in phone(and emulator). How can I install it?</strong>
  PS: The problem is in code I think. Normally all apps get installed in emulator or phone.
  This is not phone problem but some error is in my java file..I think.</p>