Is there any way to check my RCP application is first time installed (via Webstart) or is run from cached (for example. desktop shortcut) during runtime. What I have in mind is implement DownloadServiceListener and check if one of the static resource is downloaded (if yes - new, if no - cached).
Use the installer-desc
element of the JNLP to invoke some code that writes an attribute in the PesistenceService
. See more information on the JNLP API.