Hi Stephane,
Since the last few versions of OS X (and the appearance of Oracle’s JVM), Apple doesn’t provide anymore the possibility to select Java 6 as default via system preferences. Therefore the solutions are either:
— on the target system: reroute manually the “java” command to use the Java 6 version (via a good old “sudo ln -sf” on the command line), but that’s boring/too hard for end users, and this affects the entire system
— you could store that command within the Icy settings file (if you handle OS-dependent settings), because the command line Dan gave you is the same on all Mac systems.
Alexandre