質問

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.

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top