Results 1 to 16 of 16
  1. #1
    bihuboliya is offline Member
    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    0

    Post How to convert a JAR file into an EXE file?

    Please help me in creating an windows executable file from a .jar file

  2. #2
    rjagan's Avatar
    rjagan is offline Member
    Join Date
    Feb 2011
    Location
    Puducherry
    Posts
    53
    Rep Power
    0

    Default

    Use the Install Creator Software to convert jar to exe

  3. #3
    dlorde is offline Senior Member
    Join Date
    Jun 2008
    Posts
    339
    Rep Power
    7

    Default

    Try this.

  4. #4
    holyvincent is offline Member
    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    0

    Default check this blog

    Yuva Developer: Convert JAR files to EXE

    there are many options... 4j to many others

  5. #5
    UJJAL DHAR is offline Senior Member
    Join Date
    Apr 2010
    Location
    Dhaka,Bangladesh
    Posts
    180
    Rep Power
    0

  6. #6
    Jaipal is offline Member
    Join Date
    Mar 2011
    Posts
    3
    Rep Power
    0

    Default

    use FileOutputStream mechanism of java.io package to convert .jar to .exe try this but am not sure about

  7. #7
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default

    Jaipal, please stop posting utter rubbish.

    db

  8. #8
    Jaipal is offline Member
    Join Date
    Mar 2011
    Posts
    3
    Rep Power
    0

    Default

    k sir i will try to post sophisticated ans...

  9. #9
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,778
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by Jaipal View Post
    k sir i will try to post sophisticated ans...
    Just posting correct answers will be enough; wild guesses just don't make it. The only correct answer to this question is: forget it; you lose all portability while jar files themselves can easily be made executable; something the OP doesn't know.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  10. #10
    UJJAL DHAR is offline Senior Member
    Join Date
    Apr 2010
    Location
    Dhaka,Bangladesh
    Posts
    180
    Rep Power
    0

    Default

    Just posting correct answers will be enough; wild guesses just don't make it. The only correct answer to this question is: forget it; you lose all portability while jar files themselves can easily be made executable; something the OP doesn't know.
    JosAh,
    I agree with you.But JDK or JRE installed in pc is needed to operate a jar file.So, if we want to give someone to the jar file,he must install jdk on his pc also.This is a burden for him, Am I right?

  11. #11
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    No, the user does not need the JDK, only developers need that. Most computers already come loaded with Java by the way.

  12. #12
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,778
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by UJJAL DHAR View Post
    JosAh,
    I agree with you.But JDK or JRE installed in pc is needed to operate a jar file.So, if we want to give someone to the jar file,he must install jdk on his pc also.This is a burden for him, Am I right?
    As Fubarable already said, you only need the JRE to be installed and don't forget if you want to distribute a MS Windows executable file your users need to have MS Windows installed on their computers.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  13. #13
    UJJAL DHAR is offline Senior Member
    Join Date
    Apr 2010
    Location
    Dhaka,Bangladesh
    Posts
    180
    Rep Power
    0

    Default

    As Fubarable already said, you only need the JRE to be installed and don't forget if you want to distribute a MS Windows executable file your users need to have MS Windows installed on their computers.
    Well,got it.

    JosAH,
    I use Ubuntu 10.10 also.In linux system jar file doesn't work in double click.How to do this?

  14. #14
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,778
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by UJJAL DHAR View Post
    Well,got it.

    JosAH,
    I use Ubuntu 10.10 also.In linux system jar file doesn't work in double click.How to do this?
    Open a file viewer, select your .jar file and open your 'file' menu; there should be an option 'open with other application' in that menu.

    kind regards,

    Jos

    ps. sometimes I wonder how you people manage to actually work with your computers. You don't read any manuals, you don't experiment, you simply expect your computer to be psychic when you randomly click away ...
    cenosillicaphobia: the fear for an empty beer glass

  15. #15
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    I'm still waiting on mine to make me a cup of tea...

  16. #16
    UJJAL DHAR is offline Senior Member
    Join Date
    Apr 2010
    Location
    Dhaka,Bangladesh
    Posts
    180
    Rep Power
    0

    Default

    Quote Originally Posted by Tolls View Post
    I'm still waiting on mine to make me a cup of tea...
    very funny....
    Can you read this for me??
    উজ্জ্বল সূত্র ধর: Converting .jar to .exe

Similar Threads

  1. convert proeprties file to xml
    By niteangell21 in forum New To Java
    Replies: 1
    Last Post: 09-29-2010, 11:49 AM
  2. convert .txt file in .csv format
    By rajuchacha007 in forum New To Java
    Replies: 19
    Last Post: 03-18-2010, 10:10 AM
  3. Convert XML file into DTD using Java
    By veera in forum XML
    Replies: 0
    Last Post: 12-19-2008, 06:38 AM
  4. How to convert the encoding of a file
    By valery in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 04:48 AM
  5. Convert my class file into a exe file
    By carl in forum New To Java
    Replies: 1
    Last Post: 08-05-2007, 09:35 AM

Posting Permissions

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