Here's a neat shortcut to restart MATLAB shared ed by Sean de Wolski . I added a shortcut onto my desktop to do just this!
But here's my problem:
Suppose I start MATLAB normally my static javaclasspath matches the file javaclasspath.txt stored in my userpath. Now I type at the command line
and a new instance of MATLAB gets going but this one has a different static javaclasspath - items that I added in my javaclasspath.txt don't appear and consequently my database links don't work.