.jar garbled output on web browser when downloaded
-
12-12-2019 - |
Frage
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.
Lösung
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.
jad
s need a MIME type of text/vnd.sun.j2me.app-descriptor
, and jar
s are application/java-archive
.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow