Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create EXE file in java

 
abhi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
How can i create EXE file in java(like setup icon kind of thing)...so that by clicking that i can run my application.
Thanks.
 
Sean MacLean
author
Ranch Hand
Posts: 621
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's easy on a Mac but this is the only PC method that I've come across.
http://www.javaworld.com/javaworld/javatips/jw-javatip58.html
Perhaps someone else has a cleaner solution?
Sean
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
venugopal
If you're working in ms-windows, you can make an executble jar file, and click it and run it.
See instructions here, it might help:
Instructions for Creating an Executable .jar File

Roseanne
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic