I found the issue was that during my pre-installation step, I used a block of code to check for previous installations of MATLAB and then I used what I thought was a generic uninstaller from the application's directory.  It turns out that the installers are probably unique to each version and a single uninstaller cannot be used to uninstall each different version of MATLAB.  Once I referenced each version's unique uninstaller, the error went away.
When trying to install Matlab 2020b getting error "The installer could not start the JVM"
    조회 수: 31 (최근 30일)
  
       이전 댓글 표시
    
I am working to deploy MATLAB R2020b using PSAppDeployToolkit.  I downloaded the installer from Mathworks, unpacked it using the wizard to download the installation files, and manipulated my script for 2020a.  When I first start the script, I get the error:
The installer could not start the JVM.
Could not find file C:\users\<user>\<path>\sys\java\jre\win64\jre/bin/server/jvm.dll
When I browse to that location in the package, the dll is present.  I tried updating Java and installing the JDK to no avail. Any ideas?
댓글 수: 0
답변 (2개)
  Pankhuri Kasliwal
    
 2020년 10월 5일
        Hi,
This problem occurs when running the installer from a folder that has a space anywhere in the directory path. Because of this, running the installer from a folder on the desktop on a typical Windows XP machine will fail because the "desktop" folder is contained within the "Documents and Settings" folder.
To work around this issue, create a new folder on the C: drive that has no spaces in the name and move the downloaded files into this new folder. 
Execute the installer from there and it should run successfully.
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File 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!

