首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >JDK 7更新80安装问题“选定路径中的分号”

JDK 7更新80安装问题“选定路径中的分号”
EN

Stack Overflow用户
提问于 2016-05-05 00:58:13
回答 7查看 2.5K关注 0票数 5

我试图在Windows 7机器上安装JDK 7,并不断地得到“在所选路径中找到的分号”错误,不管我为安装选择了什么路径。

尝试使用JDK的不同更新,但也没有帮助。

编辑:安装日志显示以下错误:

清华5月05日06:34:19 2016 ::JDK安装失败。返回代码: 1603,ErrorCode: 0

EN

回答 7

Stack Overflow用户

发布于 2016-07-12 11:52:48

此错误消息由Microsoft Windows安装程序引擎显示,是表示安装过程中发生问题的通用错误代码。

继续阅读,学习如何避开这一速度碰撞。

以下是造成此错误的已知原因的非详尽列表:

代码语言:javascript
复制
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.

如何避免此错误

在大多数情况下,下列解决方案解决了这一错误:

代码语言:javascript
复制
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.
票数 4
EN

Stack Overflow用户

发布于 2016-07-07 19:47:45

将您的安装程序可执行文件放到C:\并从那里运行。

更多信息在这里:http://wills-tech-notes.blogspot.com/2015/12/cannot-install-java-semicolon-found-in.html

票数 2
EN

Stack Overflow用户

发布于 2016-07-11 15:16:01

您所得到的错误通常是在java更新安装期间抛出的,而不是第一次安装。

请按照以下步骤解决您的问题。我们试试看。

步骤1:

  • 只想确保您已经在机器上部分安装了java。
  • 在命令提示符中遵循以下条目:
代码语言:javascript
复制
- 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步:

  • 检查您的C:驱动器,以验证不应该有任何Java安装文件夹。如果是,请删除。
  • 清除计算机中的所有日志(如果它包含任何现有的java相关日志) cache.xml

第3步:

  • 实际上,我们不需要安装Java,而是可以下载压缩的java文件并定位到专用驱动器中。然后,将所有的环境变量输入到这个位置。在这种情况下,我相信你很好。

如果你还面临问题,可以告诉我吗?

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37040577

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档