I have tried version 6 and 7 of java and its exactly the same error on OSX 10.8 and 10.9 using all browsers and on Windows 7 Pro 32 and 64bit. Connection works fine using the native citrix plugin.
The error is:
The connection failed:
This is probably due to network problems