facebook

how to exit from the eclipse workbench from command line

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #309759 Reply

    viswamy2k
    Participant

    Hi,

    My eclipse workbecnh is opened and i want to exit from this using the command line.,

    Could you please let me know how cn i do this.,

    thanks in advance

    #309762 Reply

    support-joy
    Member

    viswamy2k,

    I am afraid, I do not know any way to exit the eclipse / myeclipse workbench from command line. You need to do that from the IDE. You can use the shortcut key – [Alt] + F + X or using menu option – File > Exit.

    #309769 Reply

    Ton Huisman
    Member

    And also the default Windows key ‘Close Application’ <Alt-F4> should work.

    #309775 Reply

    viswamy2k
    Participant

    fine., Can i do the same java programmatically

    #309778 Reply

    support-joy
    Member

    viswamy2k,

    fine., Can i do the same java programmatically

    I am not sure I understand this. Do you want to close the IDE programmatically? Or are you referring to any window which you can open using any web browser?

    #309779 Reply

    viswamy2k
    Participant

    I want to close the IDE programmatically

    #309780 Reply

    support-joy
    Member
    #309804 Reply

    viswamy2k
    Participant

    Thanks, i went through the links and im not able to make the code piece to close the eclipse workbench.,

    If you can help with code piece it will be helpful for me

    #309807 Reply

    Ton Huisman
    Member

    It’s not clear to me why you would want to close the IDE (another application) from your application, can you give a usage example? Or are you writing a plug-in?, then it’s in the ‘how to write a plug-in’ documentation on eclipse.org.

    TIA

    #309808 Reply

    viswamy2k
    Participant

    Actually im doing the plugin installation using the dropins folder,so after that i have to start the IDE and close it.
    In this scenario im able to open the IDE using the command line utility so now i want just exit/close this opened IDE.

    #309835 Reply

    support-joy
    Member

    viswamy2k,

    Using command line you cannot exit MyEclipse IDE. I do not have the required know-how to close MyEclipse IDE from another program. I would request you to search other relevant forums.

    #309839 Reply

    Ton Huisman
    Member

    IMHO the proper solution would be to _tell_ (displaying a mesagebox?) the user that the IDE needs to be closed & reopened to activate the plugin.
    A few relevant statements:
    “I’m a developer, don’t mess with my running applications!”,
    and
    “If you’re stupid enough to ignore proper directions, it’s your own fault if it doesn’t work.”

    HTH

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: how to exit from the eclipse workbench from command line

You must be logged in to post in the forum log in