Running SQL Workbench/J on MacOS

On MacOS starting SQL Workbench through the application icon does not work if Java 5 and Java 6 are installed together The stub that starts the Java virtual machine seems to pick the wrong Java installation.

To fix this problem, copy the stub from the Java 6 application into the SQL Workbench/J directory using the following command (on a single line)

cp /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub /Applications/SQLWorkbench/SQLWorkbenchJ.app/Contents/MacOS/