How do I turn a .java into an .exe?

Discussion in 'OT Technology' started by machine, Mar 26, 2004.

  1. machine

    machine Welcome to the Machine OT Supporter

    Joined:
    Oct 23, 2003
    Messages:
    8,977
    Likes Received:
    0
    Location:
    DSotM
    I'm in intro programming and just made a programm in java. Is there any way I can *easily* turn this into an executable which will work on I guess most computers?
    If there is, please explain how. Thanks :big grin:
     
  2. Ximian

    Ximian New Member

    Joined:
    Mar 20, 2004
    Messages:
    1,860
    Likes Received:
    0
    Location:
    DCA
  3. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    yes compile it to a class file and install the jre. boom ur done
     
  4. carlin

    carlin Guest

    ebunny... couple of things you can do ...

    1. if you are using JBuilder, there is option to do that already...
    2. you a 3rd party app like jexepack to pack the class file(s) into exe's -- try it before you buy it...
    3. and my fav -- cheap man's exe ... a batch file.

    CyberBullets... if you are able to complie, then you are already have the SDK (which includes jre). How does that make a class into an exe? I am missing something? :confused:
     
  5. carlin

    carlin Guest

  6. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    no if he wants to distribute it around he can move the class file with the jre from one computer to anohter
     
  7. machine

    machine Welcome to the Machine OT Supporter

    Joined:
    Oct 23, 2003
    Messages:
    8,977
    Likes Received:
    0
    Location:
    DSotM
    uhmm i'm using Textpad right now ??
    I have two files right now, one class with the main in it, and another .class that it implements. i don't have any "jar"s or whatever they are. right now when I want to run my program, i hit compile in textpad. :big grin:
     
  8. machine

    machine Welcome to the Machine OT Supporter

    Joined:
    Oct 23, 2003
    Messages:
    8,977
    Likes Received:
    0
    Location:
    DSotM
    oh and carlin...i need to pay to see the answer to that link??
     
  9. aphoric

    aphoric Even if god did exist, it would be necessary to ab

    Joined:
    Aug 29, 2003
    Messages:
    918
    Likes Received:
    0
    Location:
    Leaving Afghanistan
  10. crotchfruit

    crotchfruit Guest

    scroll to the bottom of the page. they insert ads between the question and answers.

    i read the thread and it's not very useful anyways.
     
  11. carlin

    carlin Guest

Share This Page