+1  A: 

You don't say which OS you're using. Assuming your find command syntax is correct (it's not correct on Mac OSX), I think you should be:

  1. consuming both stdout and stderr. You need to do this concurrently to avoid blocking behaviour. See this SO answer for more details
  2. collecting the exit code from the spawned process via Process.waitFor()
Brian Agnew
A: 

Instead of running a Unix command to find symlinks, you could do it in Java, by comparing the results of File.getCanonicalPath() and File.getAbsolutePath().

More details in this question.

dogbane
I already thought of this possibility before, but this doesn't work reliable.
soc
A: 

I found the Problem: The method was not called from the event dispatch thread, after the GUI was constrcuted.

soc