Welcome to Esato.com




Whats the difference between .jad and .jar?


Click to view updated thread with images




Posted by govigov
? I know we can run .jar no k7 for sure. What about .jad? Can it be run? Whats the diff between the two?


Posted by Vlammetje
In simple terms: jar (Java Archive) is an exec file and jad (Java Application Descriptor) is a descriptional file.

Quote:
The JAD file contains several information elements that describe the contents of the JAR. Some key attributes include, the name of the application, the vendor name and size of the application. The JAR file contains the actual applications and necessary resources to run the application.



Posted by govigov
Thanks, i thought it was two different formats, like jpg and bmp. So the .jad has info while .jar is an exe. How can one run .jar in a pc?

Posted by MikLSP
If you try install a .jad it will connect to the internet and install the app over the air and usually doesn't work

Posted by lanzz
actually, having both the .jad and the .jar in the same directory on a web server, accessing it via wap and selecting the .jad (yes, the description) file presents a dialog with an information and a download action; selecting download actually downloads the full .jar from the same directory. all of this is happening on my own web server, there wasn't any magic going on behind the scenes - the .jad did not contain references to my server but the phone still downloaded the .jar that was residing in the same directory.

Posted by vineet_d
It never worked for me actually, whenever i tried to download a .jad file, it says invalid file format or file corrupt.

Posted by DSF
@vineet it sais that because the url to the jar file doesnt exist. So the jad file must have a correct url to a jar file

Posted by vineet_d
Ok ya, never knew that. Thanks buddy for the info.

Posted by lanzz
the web server where the .jad and .jar files are hosted must be configured with the correct mime types for these files. .jad files must be "text/vnd.sun.j2me.app-descriptor" (this most likely is NOT configured properly) and .jar files must be "application/java-archive" (this is usally configured ok).

Posted by pantelis
Hi there. Hi gogigov. I found the idea of running the jar games on a PC interesting so i did a search and found something. It's for NOKIA's jar files, maeby it will work for us to. I didn't try yet. I'm going to do it now.

http://amazingmobile.com/gamemagic/


Click to view updated thread with images


© Esato.com - From the Esato mobile phone discussion forum