Esato

Forum > Sony Ericsson / Sony > General > Whats the difference between .jad and .jar?

Author Whats the difference between .jad and .jar?
govigov
K500
Joined: Jul 30, 2004
Posts: > 500
From: Back home - Cochin
PM
Posted: 2004-10-18 05:11
Reply with quoteEdit/Delete This PostPrint this post
? 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
C702 Cyan
Joined: Mar 01, 2003
Posts: > 500
From: Den Haag
PM, WWW
Posted: 2004-10-18 09:04
Reply with quoteEdit/Delete This PostPrint this post
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
K500
Joined: Jul 30, 2004
Posts: > 500
From: Back home - Cochin
PM
Posted: 2004-10-18 13:17
Reply with quoteEdit/Delete This PostPrint this post
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
Xperia X10 Black
Joined: Sep 21, 2003
Posts: > 500
From: se-nse.com
PM
Posted: 2004-10-18 14:54
Reply with quoteEdit/Delete This PostPrint this post
If you try install a .jad it will connect to the internet and install the app over the air and usually doesn't work

se-nse-a-win;Sell Any Item;[url=http://A-ZoTT.com]A-ZoTT.com[/
lanzz
K550 Black
Joined: Nov 15, 2004
Posts: 19
PM
Posted: 2004-11-22 15:42
Reply with quoteEdit/Delete This PostPrint this post
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
P990 no flip
Joined: Apr 15, 2004
Posts: > 500
From: MumBhai
PM
Posted: 2004-11-22 15:53
Reply with quoteEdit/Delete This PostPrint this post
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
R520
Joined: Dec 01, 2002
Posts: > 500
From: Romania
PM, WWW
Posted: 2004-11-22 15:58
Reply with quoteEdit/Delete This PostPrint this post
@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
P990 no flip
Joined: Apr 15, 2004
Posts: > 500
From: MumBhai
PM
Posted: 2004-11-22 16:10
Reply with quoteEdit/Delete This PostPrint this post
Ok ya, never knew that. Thanks buddy for the info.

This message was posted from a S700

lanzz
K550 Black
Joined: Nov 15, 2004
Posts: 19
PM
Posted: 2004-11-22 18:10
Reply with quoteEdit/Delete This PostPrint this post
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
K700
Joined: Nov 04, 2004
Posts: 27
PM
Posted: 2004-11-24 00:19
Reply with quoteEdit/Delete This PostPrint this post
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/
Access the forum with a mobile phone via esato.mobi