Results 1 to 8 of 8

Thread: Convert JAR files to EXE!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    89

    Question Convert JAR files to EXE!

    Hey, how can i convert JAR files to EXE files on windows platform, using the netbeans 5.0 or jdk ?

  2. #2
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Re: Convert JAR files to EXE!

    You can't convert them, but tools are available to create .exe's. I recommend against it. From my point of view, if you want an .exe then your design/understanding is flawed, or you're using the wrong language.


    Create an executable jar instead!

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    89

    Re: Convert JAR files to EXE!

    if i create a JAR file, when i deploy it to another machines, can i make a setup program and install it in the start menu, and register it, just like the other languages?

  4. #4
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Re: Convert JAR files to EXE!

    I think "Java Web Start" is what you're looking for. I have no personal experience with it, so there's not much I can do on that subject.

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Convert JAR files to EXE!

    No, Java Web Start is something different.

    The answer is yes, you can do that, and some IDEs even have tools that automate it for you. But I have no further experience on the subject.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    89

    Re: Convert JAR files to EXE!

    is the netbeans between those IDE's?

  7. #7
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Convert JAR files to EXE!

    Looks like it:
    http://www.nbextras.org/2006/04/04/1144154738434.html
    Look at the Launch4j entry.

    By the way, it took me 3 minutes to find this with Google. It took me 22 minutes in total to see and read your reply and then post my own, and it will probably take at least another 10 minutes for you to read my reply. That should tell you something.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    89

    Re: Convert JAR files to EXE!

    i got it!

Posting Permissions

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



Click Here to Expand Forum to Full Width