Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
Does the license look ok when you go to the mentioned path? –  Dennis Jaheruddin Feb 4 '13 at 13:14
add comment

1 Answer

Based on the error message, you should put the license file into the following folder

License path: /home/x/.matlab/R2012b_licenses:/home/x/MATLAB1/licenses/license.dat:/home/x/MATLAB1/licenses/network.lic

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.