On startup, this error pops up .. "Error using connector.​internal.a​utostart.r​un"

Error using connector.internal.autostart.run Cannot CD to C:\Users\AAsus\AppData\Local\Temp;;C:\Program Files\Java\jdk1.8.0_11\bin;;C:\Program Files\Java\jdk1.7.0_02\bin (Directory access failure).
This error occurs everytime I am starting Matlab 2015b. Please help me with this. Thanks in advance.

2 Comments

I too have this problem. Warning: Duplicate directory name: C:\Program Files (x86)\MATLAB\R2015b\toolbox\local Error using connector.internal.autostart.run please help me i don't know to do
Invoke MATLAB. Invoke
restoredefaultpath
rehash toolboxcache
Then invoke pathtool . Inside pathtool, click to save the path.
Now exit MATLAB and restart MATLAB, and invoke the connector.

Sign in to comment.

 Accepted Answer

Your TEMP environment variable is invalid. It needs to to be a single directory, not a list with multiple directories like you have.
Your extra directories have to do with Java but neither of the extra directories are directories that should contain temporary files.
You should reconfigure your system environment variables to not have those jdk references for TEMP

2 Comments

How to solve this? Please give the steps. I am new to this.
See for example https://www.java.com/en/download/help/path.xml except you want to modify TEMP instead of PATH. You need to leave it with only the AppData directory, not the empty directory and not the jdk directory that it has in there now.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!