Results 1 to 12 of 12
  1. #1
    f_the_cook's Avatar
    f_the_cook is offline Member
    Join Date
    May 2008
    Posts
    21
    Rep Power
    0

    Default class.java to class.exe

    Is it possible to turn a .java into an EXE file?

  2. #2
    roots's Avatar
    roots is offline Moderator
    Join Date
    Jan 2008
    Location
    Dallas
    Posts
    293
    Rep Power
    7

    Default

    dont worry newbie, we got you covered.

  3. #3
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Why you would want to, is beyond my understanding. If you want a native executable, you would be better off programming in something that is designed to produce it.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    I think even he mentioned as class.exe, really looking that how to deploy an installation package. Because time to time we can see that lots of people worried about creating an exe file for there application, here in our community.

    If not like you masijade, I'm confusing too.

  5. #5
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    I feel he wants to run a .java file through a bat file, am i right?
    To finish sooner, take your own time....
    Nivedithaaaa

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  7. #7
    Fireking is offline Member
    Join Date
    Jul 2008
    Posts
    14
    Rep Power
    0

    Default

    in responce to this i think he wanted what i wanted, a way to create a program and be able to run it by clicking on an icon on the desktop to run the program.
    But i do believe roots post answer his question.
    The simplest way would be just to setup a shortcut on the desktop to the xxx.jar file..?

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Yes, using a shortcut on the desktop is the most easiest way to do it. But if he's looking about an installation package then the story is different actually. All are here may be confusing on the original post, because he is talking about an exe file. :)

  9. #9
    Join Date
    May 2008
    Location
    India,Kolkatta
    Posts
    50
    Rep Power
    0

    Default

    Use Advance installer to create Exe file.
    It will do your job..
    Thanks & Regards
    Subroto Bhattacharjee:)

  10. #10
    linuxswan is offline Member
    Join Date
    Mar 2008
    Posts
    28
    Rep Power
    0

    Default

    Actually why dont you provide answers for two questions
    1. When we double click on the Desktop icon the java program should execute
    2. How to deploy the java program i.e installation wizard like things.

  11. #11
    Join Date
    May 2008
    Location
    India,Kolkatta
    Posts
    50
    Rep Power
    0

    Default

    Its very easy
    Just download Advance Installer (demo Version) from internet its free for 30 days.
    After that there is option for creating a .exe file from class file.
    And from there you can also select the main class(Main java.class file).
    the only criteria for this that you must have java enviroment installed in your machine.
    Try this..

    This installer will create a .msi file.
    Execute that masi file it will create an exe file.
    From which your application will run as per as your requirement.
    Thanks & Regards
    Subroto Bhattacharjee:)

  12. #12
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Replies: 0
    Last Post: 05-13-2008, 06:16 AM
  2. Class Reflection: Finding super class names
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-23-2008, 08:12 PM
  3. Class Reflection: Finding class modifiers
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-23-2008, 08:11 PM
  4. Replies: 0
    Last Post: 04-02-2008, 07:04 AM
  5. Replies: 0
    Last Post: 02-17-2008, 09:03 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
  •