Results 1 to 3 of 3
  1. #1
    sandeepsai39 is offline Member
    Join Date
    Feb 2009
    Rep Power

    Default [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.

  2. #2
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Rep Power


    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.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power


    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

  1. Creating jar file
    By Heather in forum Advanced Java
    Replies: 4
    Last Post: 02-11-2009, 09:58 AM
  2. [SOLVED] Making JAVA Program excutable
    By kirly in forum Advanced Java
    Replies: 10
    Last Post: 10-07-2008, 03:57 AM
  3. creating jar file
    By po0oker in forum Advanced Java
    Replies: 3
    Last Post: 04-04-2008, 07:49 PM
  4. Creating a File object in Servlet
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-16-2008, 10:24 AM
  5. creating .ear file
    By psn in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 01-06-2008, 05:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts