0

I deployed my .jar file to the web server and attempted to download the .jar file using the old Nokia phone via its web browser. Upon finishing downloading, a garbled output is displayed on the web browser instead of prompting for installation. What went wrong? Do I have to create some sort of installation file for my .jar application? Thanks.

LC Yoong
  • 1,772
  • 3
  • 15
  • 19

1 Answers1

1

A MIDlet is a combination of a jad and jar file. While some browsers permit direct installation of the jar, one would usually point a browser to the jad to install.

And ensure the MIME types are set correctly.

jads need a MIME type of text/vnd.sun.j2me.app-descriptor, and jars are application/java-archive.

funkybro
  • 8,432
  • 6
  • 39
  • 52