This differs depending on the distro you use.
I was on Ubuntu 12.04 LTS, and had installed Intel XDK earlier for a game development; decided to do away with it.
So here it goes
STEP1: Launch javaws viewer and remove the xdk
STEP2: Find the cache location and Remove Cached xdk files
STEP3: Happily do away with the shorcut