update: if I run 'ver' in the command line I get:
--------------------------------------------------------
MATLAB Version: 8.2.0.701 (R2013b)
MATLAB License Number: ••••••
Operating System: Mac OS X Version: 10.9 Build: 13A603
Java Version: Java is not enabled
--------------------------------------------------------
So it seems indeed a Java issue, how to fix this?