Results 1 to 3 of 3
- 02-25-2009, 06:22 AM #1
Member
- Join Date
- Feb 2009
- Posts
- 96
- Rep Power
- 0
[SOLVED] creating excutable jar file
i completed my project using netbeans ,now i want to create excutable jar file .I know we can run project from command line using
java -jar 'name of jar file'.I want to distribute my application to others who don't have any idea about java.So it is my job to create a GUI for jar file ,so that the user can run it by just clicking on it.I don't have any idea how to do this.please help me.
- 02-25-2009, 07:36 AM #2
Senior Member
- Join Date
- Jan 2009
- Posts
- 671
- Rep Power
- 5
Having only toyed around with netbeans, it's my understanding that it creates an executable jar file for the main class when you build it. Look in the dist directory to find it.
- 02-25-2009, 07:43 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Yes, once you build the project inside the dist folder you can see a jar file for your project. dist folder can be found in the project folder.
Read the following for more information about jar files.
Packaging programs in jar files.
And also search the forum. We've discuss the same question hundred of times here in the past.
Similar Threads
-
Creating jar file
By Heather in forum Advanced JavaReplies: 4Last Post: 02-11-2009, 09:58 AM -
[SOLVED] Making JAVA Program excutable
By kirly in forum Advanced JavaReplies: 10Last Post: 10-07-2008, 03:57 AM -
creating jar file
By po0oker in forum Advanced JavaReplies: 3Last Post: 04-04-2008, 07:49 PM -
Creating a File object in Servlet
By Java Tip in forum Java TipReplies: 0Last Post: 01-16-2008, 10:24 AM -
creating .ear file
By psn in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 01-06-2008, 05:01 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks