X11 Forwarding in Matlab on Mac OS X

If you’re like me and want to use Matlab remotely on a Mac server, but can’t get graphics to display, the problem is you need to disable the java virtual machine that Matlab uses for the GUI. Invoke matlab from the command line with ``matlab - nojvm -nosplash”. You will of course need all the environment variables set correctly. It never occurred to me that java was the culprit. I found it from the Apple discussion list, but it’s not all that easy to find.