Results 1 to 3 of 3
  1. #1
    billq is offline Member
    Join Date
    Dec 2009
    Posts
    25
    Rep Power
    0

    Default Packaging program

    Hello, I am having a little difficulty understanding the ways to package a program for others to use. When I double click on the class file I get a dialog asking me what app to open the file in. I want to be able to double click on the program and have the program execute. Is the jar file like an exe file? And are all the classes packaged into a single jar file? Is this the only way to package a program or is there others?
    thanks
    bill

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,458
    Rep Power
    25

    Default

    If you want a file that you can click on to start the app, use a jar file. You can put all the parts and only the parts needed in the jar.
    There are many postings on this site on how to build a jar file
    Use the Search to find them.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. packaging files
    By ashish9590 in forum AWT / Swing
    Replies: 2
    Last Post: 02-12-2010, 03:01 PM
  2. packaging programs for installation
    By buston01 in forum NetBeans
    Replies: 0
    Last Post: 01-25-2010, 12:07 PM
  3. Rmi+packaging
    By skliz4rel in forum Networking
    Replies: 0
    Last Post: 01-06-2010, 07:56 PM
  4. Best practice for packaging add-ons
    By Goose in forum Advanced Java
    Replies: 2
    Last Post: 08-05-2009, 10:51 PM
  5. Packaging Driver and Applet
    By ibanez270dx in forum New To Java
    Replies: 0
    Last Post: 11-14-2007, 01:18 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
  •