Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: jar and jad

  1. #1
    Regular Coder Mihai's Avatar
    Join Date
    Jan 2008
    Posts
    122
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Question jar and jad

    i know that i can use winrar to "decompile" and "zip" back the jar and i know that the jad is kind of description of the content of jad ( info file ? ) , anyway, my question is after i recompile the jar and set the size of jar in jad and upload it to my webserver how come it is saving as a zip from there to the phone ? Is ther a trick ? do i miss something ?

    Thank you

  • #2
    ess
    ess is offline
    Regular Coder
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    865
    Thanks
    7
    Thanked 29 Times in 28 Posts
    JAR files are almost identical to ZIP files...but you should always use java -jar command to create jar files.

    Here is a tutorial on how to create JAR files
    http://java.sun.com/docs/books/tutor...jar/build.html

    As for creating JAD files, I would suggest that you use JADMaker available at
    http://www.download.com/JADMaker/300...-10725641.html

    Cheers
    ~E

  • #3
    Regular Coder Mihai's Avatar
    Join Date
    Jan 2008
    Posts
    122
    Thanks
    14
    Thanked 0 Times in 0 Posts
    my jad is sending me to my jar file in a zip format , is this because in my httpd file i did not put :
    AddType text/vnd.sun.j2me.app-descriptor .jad

    AddType application/java-archive .jar
    ? or because it is not compiled good after i open it in winrar explorer without extracting?

  • #4
    boy
    boy is offline
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hello everyone ! i'm new commer


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •