Many errors after installation of R2015a 64bit or R2014b

3 views (last 30 days)
Hi, I installed R2015a and R2014b on the same PC with the same errors at installation.. Even if all available toolboxes were installed, running ver only shows a part of them.
>> ver
----------------------------------------------------------------------------------------------------
MATLAB Version: 8.5.0.197613 (R2015a)\\
Operating System: Microsoft Windows 7 Enterprise Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode\\
----------------------------------------------------------------------------------------------------
MATLAB Version 8.5 (R2015a)
Simulink Version 8.5 (R2015a)
Control System Toolbox Version 9.9 (R2015a)
Curve Fitting Toolbox Version 3.5.1 (R2015a)
Database Toolbox Version 5.2.1 (R2015a)
Fixed-Point Designer Version 5.0 (R2015a)
Fuzzy Logic Toolbox Version 2.2.21 (R2015a)
Image Acquisition Toolbox Version 4.9 (R2015a)
Image Processing Toolbox Version 9.2 (R2015a)
Instrument Control Toolbox Version 3.7 (R2015a)
MATLAB Coder Version 2.8 (R2015a)
MATLAB Compiler Version 6.0 (R2015a)
MATLAB Report Generator Version 4.1 (R2015a)
Neural Network Toolbox Version 8.3 (R2015a)
Optimization Toolbox Version 7.2 (R2015a)
Signal Processing Toolbox Version 7.0 (R2015a)
SimDriveline Version 2.8 (R2015a)
Simulink 3D Animation Version 7.3 (R2015a)
Simulink Design Optimization Version 2.7 (R2015a)
Simulink Design Verifier Version 2.8 (R2015a)
Simulink Report Generator Version 4.1 (R2015a)
Simulink Verification and Validation Version 3.9 (R2015a)
Spreadsheet Link EX Version 3.2.3 (R2015a)
Stateflow Version 8.5 (R2015a)
Statistics and Machine Learning Toolbox Version 10.0 (R2015a)
And these are the errors that I get at Matlab startup:
Warning: Function license has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function version has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\shared
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\coder_foundation\tfl
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\embeddedcoder
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\adivdsp\mdlinfo
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\adivdsp\tfl
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\adivdsp\vdspblks
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\adivdsp\rtw
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\ghsmulti
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\ghsmulti\mdlinfo
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\ghsmulti\multiblks
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\ghsmulti\tfl
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\ghsmulti\rtw
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\iarew
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\iarew\blks
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\iarew\mdlinfo
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\iarew\templates
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\ticcs\lic
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\wrworkbench
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\wrworkbench\mdlinfo
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\wrworkbench\registry
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\wrworkbench\wrworkbenchblks
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\foundation\lfsocket\lfsocket
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\foundation\pjtgenerator\hookpoints
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\foundation\pjtgenerator\blks\utils
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\adivdsp\vdspdemos
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\eclipseide\eclipseidedemos
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\ghsmulti\multidemos
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\idelink\extensions\iarew\iarewdemos
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\tasking\tasking
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\tasking\taskingdemos
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\sam\m3i
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rptgen\rptgenv1
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rptgenext\rptgenextv1
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\rtw\datadiff\GUI
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\rtw\datadiff\GUI\Icons
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\rtw\datadiff\API
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\rtw\cgv\API
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\simulinkcoder
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\shared\eml\eml
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\stm\stmdemos
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\processor\blackfin
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\processor\blackfin\blks
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\processor\blackfin\blks\mex
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\processor\blackfin\blks\masks
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\processor\blackfin\blackfindemos
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\c166\c166
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\c166\c166demos
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\mpc555dk
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\mpc555dk\common\configuration
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\mpc555dk\mpc555dk
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\mpc555dk\pil
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\mpc555dk\rt\blockset\mfiles
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\mpc555dk\rt\blockset
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\rtw\targets\mpc555dk\mpc555demos
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\processor\tic2000\blks
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\processor\tic2000\blks\mex
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\processor\tic2000\blks\masks
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\processor\tic2000\tic2000demos
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\processor\tic6000\blks\masks
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\operatingsystem\vxworks\blks
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\operatingsystem\vxworks\blks\mex
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\operatingsystem\vxworks\blks\masks
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2015a\toolbox\target\extensions\operatingsystem\vxworks\src
Warning: Initializing Handle Graphics failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup,
which should be resolved as soon as possible. Error detected was:
MATLAB:undefinedVarOrClass
Undefined variable "graphics" or class "graphics.internal.initializeMATLABRoot".
ERROR: Error starting reference:file:/C:/Program Files/MATLAB/R2015a/java/jar/toolbox/coder.jar (org.osgi.framework.BundleException: Activator start error in bundle com.mathworks.toolbox.coder [4].)
java.lang.ClassNotFoundException: com.mathworks.project.impl.model.TargetFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.mathworks.util.osgi.ServicesActivator.registerServicePair(ServicesActivator.java:53)
at com.mathworks.util.osgi.ServicesActivator.parseServices(ServicesActivator.java:38)
at com.mathworks.util.osgi.ServicesActivator.start(ServicesActivator.java:33)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
at java.lang.Thread.run(Unknown Source)
ERROR: Error starting reference:file:/C:/Program Files/MATLAB/R2015a/java/jar/toolbox/compiler.jar (org.osgi.framework.BundleException: Activator start error in bundle com.mathworks.toolbox.compiler [9].)
java.lang.ClassNotFoundException: com.mathworks.project.impl.model.TargetFactory
at java.net.URLClassLoader$1.run(Unknown Source)
ERROR: Error starting reference:file:/C:/Program Files/MATLAB/R2015a/java/jar/toolbox/compiler.jar (org.osgi.framework.BundleException: Activator start error in bundle com.mathworks.toolbox.compiler [9].)
java.lang.ClassNotFoundException: com.mathworks.project.impl.model.TargetFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.mathworks.util.osgi.ServicesActivator.registerServicePair(ServicesActivator.java:53)
at com.mathworks.util.osgi.ServicesActivator.parseServices(ServicesActivator.java:38)
at com.mathworks.util.osgi.ServicesActivator.start(ServicesActivator.java:33)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
at java.lang.Thread.run(Unknown Source)
ERROR: Error starting reference:file:/C:/Program Files/MATLAB/R2015a/java/jar/cmlink/implementations/svnintegration.jar (org.osgi.framework.BundleException: Activator start error in bundle com.mathworks.cmlink [11].)
java.lang.NoClassDefFoundError: com/mathworks/toolbox/shared/computils/reflection/Caller
at com.mathworks.cmlink.util.adapter.wrappers.CMAdapterFactoryWrapper.<init>(CMAdapterFactoryWrapper.java:17)
at com.mathworks.cmlink.util.adapter.wrappers.r11b.R11bCMAdapterFactoryWrapper.<init>(R11bCMAdapterFactoryWrapper.java:24)
at com.mathworks.cmlink.implementations.svnintegration.CmdLineSVNAdapterFactory.<init>(CmdLineSVNAdapterFactory.java:10)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.mathworks.util.osgi.ServicesActivator.registerServicePair(ServicesActivator.java:58)
at com.mathworks.util.osgi.ServicesActivator.parseServices(ServicesActivator.java:38)
at com.mathworks.util.osgi.ServicesActivator.start(ServicesActivator.java:33)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.mathworks.toolbox.shared.computils.reflection.Caller
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 16 more
Exception in thread "ContributedToolsLoader" java.lang.NoClassDefFoundError: com/mathworks/project/impl/model/Target
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at com.mathworks.toolstrip.factory.TSToolSet.getJavaMethod(TSToolSet.java:317)
at com.mathworks.toolstrip.factory.TSToolSet.init(TSToolSet.java:114)
at com.mathworks.mde.desk.ContributedTools$ToolBoxToolSet.<init>(ContributedTools.java:210)
at com.mathworks.mde.desk.ContributedTools$ToolBoxToolSet.<init>(ContributedTools.java:203)
at com.mathworks.mde.desk.ContributedTools.addToolSet(ContributedTools.java:158)
at com.mathworks.mde.desk.ContributedTools.addToolSet(ContributedTools.java:147)
at com.mathworks.mde.desk.ContributedTools.<init>(ContributedTools.java:63)
at com.mathworks.mde.desk.ContributedToolsLoader$2.run(ContributedToolsLoader.java:41)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.mathworks.project.impl.model.Target
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 13 more
Exception in thread "Startup Class Loader" java.lang.NoClassDefFoundError: javax/media/opengl/GLException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.mathworks.mde.desk.StartupClassLoader.loadClass(StartupClassLoader.java:258)
at com.mathworks.mde.desk.StartupClassLoader.access$900(StartupClassLoader.java:25)
at com.mathworks.mde.desk.StartupClassLoader$2.run(StartupClassLoader.java:244)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.media.opengl.GLException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 6 more
I tried to restore the default path, to delete the prefs, reinstalled it.. no success.. I also have R2011b with no issues.
  4 Comments
Walter Roberson
Walter Roberson on 13 Aug 2015
Sorry, I am not eligible for support myself (I let mine lapse) so I have not tried to create a support request online recently. I suggest that you contact your regional sales office by telephone.
Alexandru Duta
Alexandru Duta on 13 Aug 2015
I will wait to see what happens with the one i created today and if i get no feedback again i call them. Thanks for your feedback!

Sign in to comment.

Answers (1)

Andreas Goser
Andreas Goser on 13 Aug 2015
Alexandru, This is Andreas from MathWorks Germany. There is no case from you in the MathWorks database. But a key reason is you are working in a country with no direct MathWorks representation and those web cases end up with the repsonsible reseller and I have no access to this data. But I see you are working for a Germany based company, so I will get in touch with you by email now.
Technically, the warnings point to multiple different issues and we should first find out how you IT department deploys MATLAB to your users base.
  4 Comments
Alexandru Duta
Alexandru Duta on 10 Jan 2019
Hi,
Since this was long time ago, I don't remember how exactly it was solved.. But from what I've found through my emails, I was instructed to run these commands in Matlab:
rehashtoolboxcache; restoredefaultpath; savepath;
As I said, I don't remember if this worked but you can try on your side and provide feedback.
Selvaraj Karuppusamy
Selvaraj Karuppusamy on 10 Jan 2019
Thanks for the response! Looks like I had a different issue.
'Matlabpath' environment variable had Matlab 2011b locations, deleting this env fixed the issue for me, https://www.mathworks.com/matlabcentral/answers/439005-opening-matlab-2013b-throws-lot-of-warnings-and-java-errors#answer_355844

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!