Welcome to Esato.com




Zip to Jar/Jad program

Click to view updated thread with images


Posted by Sharkey
Does anyone know of a program which will convert these applications automatically ?


Posted by MikLSP
How do u mean convert?

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

Posted by BadByte
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

Posted by MikLSP
There u go then, simply rename the file extension to .jar

Posted by quaeler
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
)

Posted by Sharkey
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 ...


Click to view updated thread with images


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