Situation:
- My RCP application uses XulRunner
- System has two installed PDF viewers (Acrobat, Gimp)
- Firefox has Gimp set as default viewer
- I want to make my SWT Browser composite in RCP application ignore default viewer and use Acrobat if it is installed
- If it is not, I want to use default viewer
Question:
- Can I achieve this by (temporarily) setting some XulRunner or System property in my application?
You can create a
Process
in Java and execute the below command line to open PDFs in Adobe Acrobat Reader forever.