Same question, different langauge.
How do you do it in Java? Do you use JNI? run exe? or are there any library read/write *.lnk like POI read/write *.xls?
I used to workaround to create ".url" which is plain text INI file. But I am looking for other interesting way to do it.