MATLAB Answers

java_launcher.dll is missing

76 views (last 30 days)
sohrab azami ghadim
sohrab azami ghadim on 21 Jan 2016
Answered: TERIET on 18 Jul 2021
I tried to install Matlab R2014a version when progress bar was at 99% i got some error in installtion fails because of acess problem. I exited the installation and i launched matlab.exe as adminstrator i okay the prompted dialog box and launched matlab application. A dialobox titled "variables" pops up and it has following errro in it "error using eval ---undefined function workspacefunc for input arguments of type struct." matlab workspace opens up and in the main window following error and warning messages appear:
Warning: C:\Program Files\MATLAB\R2014a\toolbox\local\pathdef.m not found.
Toolbox Path Cache is not being used. Type 'help toolbox_path_cache' for more info
Undefined function or variable 'ispc'.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Warning: Duplicate directory name: C:\Program Files\MATLAB\R2014a\toolbox\local
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".
Warning: Initializing Java preferences 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:UndefinedFunction
Undefined function 'usejava' for input arguments of type 'char'.
> In matlabrc at 110
Warning: Failed to add default profiler filters.
> In matlabrc at 149
Undefined function 'rmiml.getAll' for input arguments of type 'char'.
Undefined function 'rmiml.visibleInToolstrip' for input arguments of type 'char'.
Undefined function 'rmiml.visibleInToolstrip' for input arguments of type 'char'.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.mlwidgets.graphics.ModelStateFactory.createNoSelectionModelState(ModelStateFactory.java:242)
at com.mathworks.mlwidgets.graphics.PlotToolSetFactory$3.parseComplete(PlotToolSetFactory.java:128)
at com.mathworks.mlwidgets.graphics.ModelStateFactory$ProductInfoListener$1$1.run(ModelStateFactory.java:1023)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
>>
i tried to uninstall matlab and i used the uninstall provided in the installtion files but i receive "java_launcher.dll is missing". i installed java on my computer and still cannot uninstall matlab because i get the same error java_launcher.dll is missing.
i appreciate if you tell me how to fix this java_launcher.dll is missing error. do you have any registry fix or patch that i run and it gets fixed!?
Best Regards,
sohrab azami
Royal institute of technology
stockholm-sweden
  2 Comments
Esteban Heredia
Esteban Heredia on 22 Apr 2020
Hi Savas, i have the same problem,and i tried to do the steps that you have said, but it doesnt work. Do you have any idea what can i do?

Sign in to comment.

Answers (1)

TERIET
TERIET on 18 Jul 2021
Having same problem unable to uninstall Matlab.

Community Treasure Hunt

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

Start Hunting!