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: Java exe files

  1. #1
    JPM
    JPM is offline
    Regular Coder
    Join Date
    Mar 2004
    Location
    Norway
    Posts
    204
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Java exe files

    Does anyone know of a program that can turn .class files into .exe files?
    <JPM />

  • #2
    Regular Coder
    Join Date
    Dec 2003
    Posts
    367
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There are a few options:
    http://www.excelsior-usa.com/jet.html
    http://www.duckware.com/jexepack/index.html
    http://www.ej-technologies.com/produ.../overview.html

    But there are better options IMO, like making a double-clickable jar, or using WebStart.

    shmoove

  • #3
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Quote Originally Posted by shmoove
    But there are better options IMO, like making a double-clickable jar, or using WebStart.

    shmoove
    In my college programming courses I found that to be the simplest way of doing it. The jar file acts just like an executable and it was relatively simple to set up.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #4
    New Coder
    Join Date
    Aug 2002
    Posts
    73
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is what I usually do.

    I create a folder, in it I put the /jre folder and create a /bc folder. Then I put my class files in /bc. Then I create an exe using:

    http://www.autoitscript.com/autoit3/

    In the script I can run the class file using the following command:
    Run('jre\bin\java.exe -cp bc; MyClassName', '.')

    AutoIt will allow you to embed an icon in the file, too.


  •  

    Posting Permissions

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