|
-
July 22nd, 2002, 12:34 AM
#1
How to make exe file in JBuilder
-
July 22nd, 2002, 10:26 AM
#2
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.
-
April 8th, 2005, 02:49 PM
#3
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
-
April 8th, 2005, 02:51 PM
#4
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.
-
April 8th, 2005, 03:01 PM
#5
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|