Results 1 to 2 of 2
  1. #1
    IYIaster is offline Member
    Join Date
    Jul 2009
    Rep Power

    Default java programming adding flags

    I've tried searching for this. I'm sure the problem is I'm not searching for the right thing. Can someone point me in the right direction. I want to create an uninstall flag for my application. This would launch my application.
    java -jar myapp.jar
    and I would like this to uninstall my application
    java -jar myapp.jar -uninstall
    thanks to anyone that took the time to help.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    Have you noticed the args to the main() method? They are passed in from the commandline.

    Not sure what "uninstall" means. Could you explain that?

Similar Threads

  1. Returning flags from enums
    By willemien in forum New To Java
    Replies: 5
    Last Post: 05-26-2010, 07:37 AM
  2. Replies: 1
    Last Post: 05-31-2009, 10:57 PM
  3. Replies: 1
    Last Post: 05-31-2009, 02:17 PM
  4. Replies: 16
    Last Post: 05-28-2009, 03:41 PM
  5. stopping thread...using flags
    By rstepler in forum New To Java
    Replies: 1
    Last Post: 07-31-2008, 09:36 PM

Posting Permissions

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