I barely managed to get MATLAB installed but I think it's installed correctly. However, when I `cd`

to the `bin`

directory and run `./matlab`

, the MATLAB logo comes up but then it instantly closes again and I get the error message:

```
License checkout failed. License Manager Error -2
Make sure that the formatting of the license file is correct. When editing the license file use a basic text editor.
Troubleshoot this issue by visiting: http://www.mathworks.com/support/lme/R2012b/2
Diagnostic Information: Feature: MATLAB
License path: /home/x/.matlab/R2012b_licenses:/home/x/MATLAB1/licenses/license.dat:/home/x/MATLAB1/licenses/network.lic
Licensing error: -2,413. System Error: 2 ~/MATLAB1/bin$ ./matlab Fatal Error on startup:
Cannot locate com/mathworks/jmi/OpaqueJavaInterface class
```

I've looked at the solution prescribed on the MathWorks website but I'm having a hard time figuring out what to do. I'm using 64 bit Ubuntu 12.10.

Thanks.