Why do I get a Java Exception when starting MATLAB 6.1 (R12.1)?
1 view (last 30 days)
Show older comments
Why do I get the following Java Exception when starting MATLAB 6.1 (R12.1)?
java.io.FileNotFoundException: C:\WINNT\Profiles\username\Application Data\MathWorks\MATLAB\R12\matlab.prf
at java.io.FileOutputStream.<init>(FileOutputStream.java:61)
at java.io.FileOutputStream.<init>(FileOutputStream.java:106)
at com.mathworks.services.Prefs.save(Prefs.java:512)
at com.mathworks.services.Prefs$SavePrefsThread.run(Compiled Code)
Accepted Answer
MathWorks Support Team
on 7 Feb 2013
This exception occurs when write permissions to the MATLAB.prf have been disabled. If you are receiving this error you should contact your system administrator to have permissions set to allow writing to this file.
As of MATLAB 6.5 (R13), it is now possible to read in from a preference file with read-only permissions.
0 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!