Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Running an external program from a menu
Running an external program from a menu [message #1131905] Thu, 10 October 2013 17:59 Go to next message
Eclipse UserFriend
Is it possible to have eclipse launch an external program, for example acrobat reader, programmatically from a plugin? For example, I want to create a menu that when the user clicks it it will open a PDF file in the file system by launching Acrobat Reader outside of Eclipse - or more importantly just sending the file open command to windows to let windows decide what to do with it (based on file extension to program mappings). Is this possible? Please point me in the right direction - thanks a lot!
Re: Running an external program from a menu [message #1135560 is a reply to message #1131905] Sun, 13 October 2013 04:19 Go to previous message
Eclipse UserFriend
Hi Kevin,
you might want to check out the Java Desktop API which is available since Java 1.6.

http://www.oracle.com/technetwork/articles/javase/desktop-api-142259.html


Regards,
Thorsten


Previous Topic:How do I get the project name which has been built
Next Topic:Build Eclipse plugin via commandline
Goto Forum:
  


Current Time: Tue Jul 22 22:41:22 EDT 2025

Powered by FUDForum. Page generated in 0.03775 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top