CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2001
    Location
    P.R.China
    Posts
    129

    How to make exe file in JBuilder

    as title

  2. #2
    Join Date
    Jan 2002
    Location
    Halifax, NS, Canada
    Posts
    985
    You can't!

    An exe is native code. Java isn't unless you use JNI, but you still can't make an exe with JNI.

    You still have some options. 1 get yourself a program that will convert your java code into native code like c/c++.

    Or create a executable jar. That's a jar with the class that has main method specified in the Manifest file. Once the JAR is double clicked, Windows will look in the Reg for the assoiated program (javaw). Then your VM will run the main method from the specified class.

    JBuilder has a wizzard called archieve builder that can handle creating all that stuff for you. In the Wizzard choose Application.
    Last edited by Goodz13; November 18th, 2002 at 11:25 AM.

  3. #3
    Join Date
    May 2003
    Location
    Jodhpur -> Rajasthan -> INDIA
    Posts
    453

    Re: How to make exe file in JBuilder

    But one can then peep in to your code i.e. get the java files from class file packaged in jar

    Well the other option to suggest is obsuficator (might not be correctly spelled by me)


    WHY IT IS NOT POSSIBLE USING JAVA TO CREATE EXE?

    IS THIS GOOD OR BAD : Just asking for comment to increase my knowhow

    Sandeep
    Leave Your Mark Wherever You Go
    http://www.danasoft.com/sig/d0153030Sig.jpg

  4. #4
    Join Date
    Aug 2004
    Posts
    9

    Re: How to make exe file in JBuilder

    Why be so concerned if someone sees your code? Push for free source. DOWN WITH MICROSOFT!

    Kevin :-)

    Sorry about the little rant..hehe.

  5. #5
    Join Date
    May 2003
    Location
    Jodhpur -> Rajasthan -> INDIA
    Posts
    453

    Re: How to make exe file in JBuilder

    This sounds good dear

    But as i am new to this things i want to learn what is good and bad and even why the facility is not there

    Thanks for your comments

    Sandeep
    Leave Your Mark Wherever You Go
    http://www.danasoft.com/sig/d0153030Sig.jpg

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

Featured