java_launcher.dll is missing

42 次查看(过去 30 天)
sohrab azami ghadim
回答: TERIET 2021-7-18
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 个评论
Savas Yaguzluk
Savas Yaguzluk 2019-2-22
Hej hej Sohrab,
1) Just google it as "java_launcher.dll download" and
2) Click any site that provides .dll file.
3) Download 32-bit or 64-bit depending on your system. A WinRAR Zip file will be downloaded to your computer.
4) Unzip the "java_launcher.dll" file
5) a- If you are using 32-bit windows operating system, copy this "java_launcher.dll" file into C:\Windows\System32
b- If you are using 64-bit windows operating system, copy this "java_launcher.dll" file into C:\Windows\SysWOW64
7) And restart your computer. Try this and if you encounter any other problem related with this, just let me know here under the comment.
Mvh
Esteban Heredia
Esteban Heredia 2020-4-22
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?

请先登录,再进行评论。

回答(1 个)

TERIET
TERIET 2021-7-18
Having same problem unable to uninstall Matlab.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by