Hi all,
I have several class files. i need to create one exe file. and when we install this exe file then all forms will be display in GUI format one by one. How can i do this.. please any one can help me??
TQs
kris
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hi all,
I have several class files. i need to create one exe file. and when we install this exe file then all forms will be display in GUI format one by one. How can i do this.. please any one can help me??
TQs
kris
Java doesn't have exe's it use's .jar runables. Try googling jar files and read up on suns website
There are a few programs which can wrap a jar file into an exe. First take Freaky Chris' advice and read up on how to create an executable jar file. This jar will function exactly as an exe. But if you really want an exe, get a program such as Launch4j (there are other programs as well, but this is the only one that I've used) and use it to wrap your jar into an exe.
Last edited by copeg; October 29th, 2009 at 08:57 AM.
See the similar threads list at the bottom.
http://www.javaprogrammingforums.com...e-exe-jar.html
// Json
Making a exe would make your program Windows specific. But if you are sure about it
I guess you are looking for something like a installer for your java program. [Checkout Nullsoft Installer Tool]
Its a open source and can be used to create windows installation
Nullsoft doesn't actually make windows executable files. It's an installer in that it puts files in the correct locations and sets up certain Windows-specific registries and system variables so your program can run. I would just pack your program into an executable jar file via Eclipse, then in any OS that has Java, you can double-click on the executable and run it as if it were a real executable file, and it would be platform independent.
I've used NSIS before to create an installer .exe file which just does one thing and that is pack my jar in it and run it upon execution. Worked alright actually.
// Json