Matlab安装Error+finding+installer+class解决方案_第1页
Matlab安装Error+finding+installer+class解决方案_第2页
Matlab安装Error+finding+installer+class解决方案_第3页
Matlab安装Error+finding+installer+class解决方案_第4页
Matlab安装Error+finding+installer+class解决方案_第5页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、系统:Win7Ultimate x86安装Matlab版本:Matlab R2010b注:问题出现时,在网上搜索了同类问题的解决方案,发现其他系统(如xp,2000等)与安装版本(如R2009b)也出现过类似的问题,但一些中文论坛或问答网上的解决方案都不全,于是写一下自己解决的过程.问题:在下载好Matlab R2010b的安装文件(installer)后,双击安装. 首先出现一个小对话框显示安装程序将Java虚拟机拷贝至系统中,接着弹出一个对话框 “Error finding installer class.An exception occurred while looking for cl

2、ass.” 问题成因:1)Matab的安装文件夹名包含非ASC码(non- ASC characters)2)TEMP或TMP系统变量的变量值(指向的目标文件夹)名字包含非ASC码3)Matlab安装文件损坏 【注】典型的非ASC码包含中文与!#$%&等符号,具体可以上网搜索“ASC码表”或“ASC code chart”进行对照.解决方案:1)检查Matab安装文件夹名是否包含非ASC码,如有则改之,改好后重新安装Matlab至名字没问题的目标文件夹中.2)检查TEMP或TMP系统变量的指向的目标文件夹名是否包含非ASC码,如有则改动文件夹名字或者直接将变量值改动为名字不含非ASC码的新文件

3、夹中. TEMP与TMP变量可以在“环境变量”对话框中查看与修改,“环境变量”打开方式如下:xp/2000系统中,右键“我的电脑”“属性” “高级” “环境变量”vista/win7系统中, 右键“计算机”“属性” “高级系统设置” “环境变量”3)如以上两步确认无误仍无法安装,尝试在安全模式(允许网络活动)中安装Matlab.4)如以上三步无碍但仍然无法安装,则安装程序损坏的可能性很大,请更换Matlab安装程序(installer)或者联系Installation support.【注意】绝大多数这种Installer Error错误在1)2)两步中都可修复,这里要重点注意第2)步:如“系

4、统变量”框左上角显示的 计算机名/用户名(如“XXXX的用户变量”,此处“XXXX”就是计算机名)包含中文等非ASC码,那么需特别注意TEMP与TMP的变量值地址;如变量值为“%USERPROFILE%AppDataLocalTemp”,则须 改计算机名/用户名为一个不含非ASC码的名字, 或者 注册一个名字不含ASC码的用户名,然后“切换用户”至新用户再安装Matlab,或者 改动TEMP与TMP的变量值为一新文件夹,文件夹名字不含非ASC码. 因为对于用户名为“XXXX”的计算机,其变量值虽然写的是“%USERPROFILE%AppDataLocalTemp”,其实际指向却是“C:User

5、sXXXXAppDataLocalTemp”. 我之前改了好久都没改好,就是用户名包含“广州”两个中文字,但TEMP和TMP却都显示为符合规则的“%USERPROFILE%AppDataLocalTemp”,所以一直找不着问题所在. 后来换了用户名以后安装一下就成功了.【附】Mathwork Technical Support的官方回答Technical SolutionsWhy do I receive an Error finding installer class message when trying to install MATLAB on Windows? Date Last Mo

6、dified: Friday, June 26, 2009 Solution ID:1-3042HP Product:MATLAB Reported in Release:No Release Platform:Windows Operating System:Windows Any Subject:Why do I receive an Error finding installer class message when trying to install MATLAB on Windows?Problem Description:After starting the installatio

7、n, I receive the following error message:Error finding installer classSolution:This error message can occur if one of the following conditions is true:- The destination folder for MATLAB contains non-ASCII characters (ex: !#$&?)- The Windows TEMP and/or TMP variables point to a folder with non-ASCII

8、 characters- There is a problem with the installation files (corrupt DVD or incomplete downloads)As a workaround for this issue, make sure you are installing MATLAB into a folder with ASCII characters only. If the destination folder is correct, see below for additional troubleshooting:1) Check the W

9、indows TEMP and TMP variablesTo confirm the path for TEMP and TMP under Windows XP/2000:1. Right click on My Computer and choose Properties2. Choose the Advanced Tab3. Click on the Environment Variables Button (bottom left)In Vista this is accomplished by the following:1. Right click on Computer and

10、 choose Properties2. Click on Advanced Settings on the left side3. Click continue on the UAC page4. Click on the Environment Variables Button (bottom)Check for the TMP and TEMP variables under both System and User variables. If you see the variable set to a value between percent signs (ex: %TMP%) or

11、 to a path with all ASCII characters, the variable is fine. Otherwise, if the varilable have non-ASCII characters such as an exclaimation point (!), these variables can be modified by double clicking on the variable or highlighting it and choosing Edit.Once changed, reboot the machine and retry the

12、installation.2) Try the installation in Windows Safe mode.If the installation folder and the TEMP/TMP folders are all ASCII based, you may be able to resolve this issue by installing MATLAB in Windows Safe Mode. Safe Mode disables hardware drivers and may allow the installation to complete. To enter

13、 Safe Mode, reboot the machine. As the machine is booting, tap the F8 key every few seconds until a menu appears. In the menu, select the option for: Safe Mode with Networking. Log in as normal and try the installation.3) Try different installation filesIf the installer does not work after the workarounds above, the best option is to try different installation files. These can be from a different DVD or via downloads from the MathWorks website. For instructions on how to download, see the related solution: 1-1815H H

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论