Why do I receive a SegV when I copy or cut in the MATLAB 7.0.4 (R14SP2)?

1 view (last 30 days)
When I attempt to copy, or cut text either in the MATLAB Editor or MATLAB Command Window I receive a thread exception.
This also occurs when I attempt to change directories using the MATLAB Desktop drop-down list box.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
There may be a conflict between the Java Virtual Machine (JVM) version 1.5 and the Java Security Manager.
If you are running MATLAB 7.0.4 (R14SP2), try changing the JVM the previous version used by MATLAB (JVM 1.4.2).
Perform the following steps:
1. Download and install JVM version 1.4.2 from SunMicrosystems.
2. Click on "Settings" in the Windows Start Menu.
3. Choose the "Control Panel".
4. Click on "System".
5. Click on the "Advanced" tab then the "Environment Variables" button.
6. Add a new environment variable by clicking on the "New" button and entering "MATLAB_JAVA" into the "Variable name" field. You can add this environment variable to either the User variables or System variables. The System variables persist between users.
7. Enter the path where the newly installed JVM is located into the "Variable value" field.
8. Click "Ok" to dismiss the variable editor dialog box.
9. Click "Ok" to submit the environment variables to Windows.
10. Start MATLAB 7.0.4 (R14SP2).
11. Enter
version -java
at the MATLAB 7.0.4 (R14SP2) Command Prompt. Confirm that the Java version is now 1.4.2.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R14SP2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!