Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JDK 7 Update 80 installation issue "A semi-colon found in selected path"

Tags:

java

java-7

I'm trying to install JDK 7 on a Windows 7 machine and constantly getting the error "A semi-colon found in selected path" no matter what path I select for the installation.

Tried with different updates of JDK and it didn't help either.

EDIT: Installation log shows the following error:

Thu May 05 06:34:19 2016 :: JDK installation failed. Return Code: 1603, ErrorCode: 0

like image 984
Geethanga Avatar asked May 05 '16 00:05

Geethanga


2 Answers

This error message is displayed by the Microsoft Windows Installer engine and is a general error code that indicates a problem occurred during the installation.

Read on to learn how to sidestep this speed bump.

The following is a non-exhaustive list of known causes for this error:

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.

How to Avoid this Error

The following solutions have resolved this error in the majority of cases:

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.
like image 187
Gajendra Singh Avatar answered Sep 26 '22 05:09

Gajendra Singh


Put your installer executable to C:\ and run it from there.

More info here: http://wills-tech-notes.blogspot.com/2015/12/cannot-install-java-semicolon-found-in.html

like image 42
Tair Avatar answered Sep 24 '22 05:09

Tair