Problem with symbolic links

Hi all,
I have a problem with symbolic links.
Previously I had a directory containing several command files (*.sh) on linux but I moved these to a network share.
To make things easy I used a symbolic link to point the old location to the new (ln -s).

If I execute the commands from the command line using the original commands is works fine.
But in de dev.log I see errors “Could not execute shell command:” “error=2, No such file or directory” pointing to the old location.

It seems that Java is having problems following a symbolic link.
As far is I know this should work fine using Java.

Any suggestions?

Best regards,

Java™ SE Runtime Environment (build 1.8.0_65-b17)
Controller version 2.6.0 (Beta 3)
Raspbian GNU/Linux version 8 (jessie)
Raspberry Pi3

ps. The problem seems specific to custom sensors using the “shell execution protocol”