我试图在Windows 7机器上安装JDK 7,并不断地得到“在所选路径中找到的分号”错误,不管我为安装选择了什么路径。
尝试使用JDK的不同更新,但也没有帮助。
编辑:安装日志显示以下错误:
清华5月05日06:34:19 2016 ::JDK安装失败。返回代码: 1603,ErrorCode: 0
发布于 2016-07-12 11:52:48
此错误消息由Microsoft Windows安装程序引擎显示,是表示安装过程中发生问题的通用错误代码。
继续阅读,学习如何避开这一速度碰撞。
以下是造成此错误的已知原因的非详尽列表:
Short file name creation is disabled on the target machine.
An Install Script custom action is prototyped incorrectly.
A file is locked and cannot be overwritten.
The Microsoft Windows Installer Service is not installed correctly.
The Windows Temp folders are full.
The setup was corrupted after installation and, therefore, fails with this error during un-installation.
An older version of Install Shield Developer is being used.
A general error occurred during the installation.
Print and File sharing is not installed or enabled when installing MSDE 2000.如何避免此错误
在大多数情况下,下列解决方案解决了这一错误:
Make sure short file name creation is enabled on the target machine. You can check to ensure that the target machine does not have short file name creation disabled by navigating to the following registry entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
Make sure the value "NtfsDisable8dot3NameCreation" is equal to 0. This indicates that short file name creation is enabled. A value of 1 indicates that this functionality is disabled. You should change the value to 0.
After modifying this value, the target machine should be rebooted before attempting to launch the setup again.
Note: If the target machine should normally have short file name creation disabled, it can be disabled after the install completes by resetting "NtfsDisable8dot3NameCreation" to 1 and rebooting.
To ensure that the Windows Installer Service is properly installed and configured, it is recommended that users install the file InstmsiA.exe on Windows 95/98/Me or InstmsiW.exe on Win NT systems. These files are shipped with your InstallShield product and are located in the following location:
<Product Path>\Redist\Language Independent\i386
Empty all temporary folders. The specific temporary folders for a machine can be determined by accessing the DOS prompt and typing set. Note the values listed for TEMP and TMP, and delete all files in those locations.
Make sure no other applications, including utilities such as virus scanners, are running in the background. Close all running applications and utilities, and launch the installation again.
If this error occurs during un-installation, use the Microsoft Windows Installer CleanUp utility to uninstall the installation.
Once the installation has been successfully un-installed, you can then debug the project to determine what caused the original error.发布于 2016-07-07 19:47:45
将您的安装程序可执行文件放到C:\并从那里运行。
更多信息在这里:http://wills-tech-notes.blogspot.com/2015/12/cannot-install-java-semicolon-found-in.html
发布于 2016-07-11 15:16:01
您所得到的错误通常是在java更新安装期间抛出的,而不是第一次安装。
请按照以下步骤解决您的问题。我们试试看。
步骤1:
- java -version - If it throws error we are good.
- echo %JAVA\_HOME% and echo %JRE\_HOME%
- echo %PATH% - If you see the Java entries you may need to clear all this.
- echo %CLASSPATH% - Here as well as said in above.
如果没有从第一步的结果,请遵循第二步。
第2步:
第3步:
如果你还面临问题,可以告诉我吗?
https://stackoverflow.com/questions/37040577
复制相似问题