Results 1 to 6 of 6

Thread: How to make .exe file?

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2006
    Posts
    2

    How to make .exe file?

    I have made a program. In this program i use a class and extends it with JFrame and the program also runs correctly. The program actually outputs a sample messenger(like msn or yahoo). Now i want to make a .exe file so that a common user can use this sample software.You know a common user cannot write as
    javac classname.java
    and then
    java classname
    I want to make this software/sample messenger available for use to a common user. Plz help about making .exe file of that program.Also if i am using many classes in a program and save all these classes/files in the same directory.Now how can i make .exe file of a sample messenger?

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: How to make .exe file?

    Moved from CodeBank forum (which is for code examples, not questions)

  3. #3
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: How to make .exe file?

    You can either build an executable JAR file.
    Or you can put the "java classname" in a .Bat file and give it a nice icon
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  4. #4
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513
    Last edited by ComputerJy; Sep 7th, 2006 at 07:01 AM.
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

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

    Re: How to make .exe file?

    Look:
    http://www.vbforums.com/showthread.php?t=424585
    It's the sixth thread in the Java forum!
    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
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: How to make .exe file?

    Quote Originally Posted by CornedBee
    Look:
    http://www.vbforums.com/showthread.php?t=424585
    It's the sixth thread in the Java forum!
    Yeah, I think they should make it sticky
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

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