Author |
Whats the difference between .jad and .jar? |
govigov Joined: Jul 30, 2004 Posts: > 500 From: Back home - Cochin PM |
? I know we can run .jar no k7 for sure. What about .jad? Can it be run? Whats the diff between the two?
This message was posted from a K500 |
|
Vlammetje Joined: Mar 01, 2003 Posts: > 500 From: Den Haag PM, WWW
|
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. |
|
|
govigov Joined: Jul 30, 2004 Posts: > 500 From: Back home - Cochin PM |
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?
This message was posted from a K500 |
MikLSP Joined: Sep 21, 2003 Posts: > 500 From: se-nse.com PM |
If you try install a .jad it will connect to the internet and install the app over the air and usually doesn't work
|
lanzz Joined: Nov 15, 2004 Posts: 19 PM |
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. |
vineet_d Joined: Apr 15, 2004 Posts: > 500 From: MumBhai PM |
It never worked for me actually, whenever i tried to download a .jad file, it says invalid file format or file corrupt.
This message was posted from a K700i |
DSF Joined: Dec 01, 2002 Posts: > 500 From: Romania PM, WWW
|
@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
This message was posted from a Nokia 7650 |
vineet_d Joined: Apr 15, 2004 Posts: > 500 From: MumBhai PM |
Ok ya, never knew that. Thanks buddy for the info.
This message was posted from a S700 |
lanzz Joined: Nov 15, 2004 Posts: 19 PM |
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). |
pantelis Joined: Nov 04, 2004 Posts: 27 PM |
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/ |
|