Esato

Forum > Sony Ericsson / Sony > Software, Firmware and Drivers > Zip to Jar/Jad program

Author Zip to Jar/Jad program
Sharkey
K800 Black
Joined: Sep 29, 2002
Posts: 70
From: Dublin , Ireland
PM
Posted: 2005-08-03 20:29
Reply with quoteEdit/Delete This PostPrint this post
Does anyone know of a program which will convert these applications automatically ?
MikLSP
Xperia X10 Black
Joined: Sep 21, 2003
Posts: > 500
From: se-nse.com
PM
Posted: 2005-08-03 21:42
Reply with quoteEdit/Delete This PostPrint this post
How do u mean convert?

A .jar file is a type of zip file anyway, simply rename the file extension

se-nse-a-win;Sell Any Item;[url=http://A-ZoTT.com]A-ZoTT.com[/
BadByte
K750
Joined: Aug 01, 2005
Posts: 36
From: Oslo, Norway
PM
Posted: 2005-08-03 21:52
Reply with quoteEdit/Delete This PostPrint this post
Quote:

On 2005-08-03 21:42:00, MikLSP wrote:
How do u mean convert?

A .jar file is a type of zip file anyway, simply rename the file extension



It IS a zip file
MikLSP
Xperia X10 Black
Joined: Sep 21, 2003
Posts: > 500
From: se-nse.com
PM
Posted: 2005-08-03 22:08
Reply with quoteEdit/Delete This PostPrint this post
There u go then, simply rename the file extension to .jar

se-nse-a-win;Sell Any Item;[url=http://A-ZoTT.com]A-ZoTT.com[/
quaeler
K750
Joined: Jun 23, 2005
Posts: 58
From: Paris, Bethesda, helLA
PM
Posted: 2005-08-04 09:45
Reply with quoteEdit/Delete This PostPrint this post
his/her question is potentially not as naive as it seems -- if (s)he has a .zip/.jar from somewhere that they want installed on their phone, then they'll be wanting a .jad file to accompany the .jar.. you don't -need- a .jad file for a number of cases, but in case you do:
i'm unaware of an app that looks at a jar file and deduces a correct .jad, but that doesn't prevent you from writing your own jad if you know the path of the main-class in the jar -- the spec for the midp2.0 jad can be found through here:
http://jcp.org/aboutJava/communityprocess/final/jsr118/
(and the midp1.0 through here:
http://jcp.org/aboutJava/communityprocess/final/jsr037/index.html
)
Sharkey
K800 Black
Joined: Sep 29, 2002
Posts: 70
From: Dublin , Ireland
PM
Posted: 2005-08-04 10:44
Reply with quoteEdit/Delete This PostPrint this post
Thank you quaeler ,
On my last PC I had a program that would scan for zip's and then detect whether they should be Jar or Jad files and convert them automatically . On some XP versions when the file is saved it will not allow you to rename it ...
Access the forum with a mobile phone via esato.mobi