How To Fix Windows Java Error 1723
2013-05-27 11:25
330 查看
Just recently I experienced a problem with both installing or uninstalling Java (the JRE) on a Windows 2003 system. I had to research this quite a bit and there were no clear answers anywhere, so I though I'd post here on how I was able to fix it. In my
case, I was using Windows Server 2003 64-bit, but this should apply to other Windows versions as well.
The error I was getting was as follows:
"Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor."
This error is caused when you delete the JRE directory without running the uninstallation program. The reason this causes a problem is due to the registry entries that the installer creates when the JRE is installed. There is a DLL that the installer uses
to make (and remove during an uninstall) the registry entries. Without this DLL, both the install and the uninstall will fail. This error may also prevent you from installing updated versions of the JRE to your system - which is a security risk.
You can find the path to the DLL that the installer (or uninstaller) is looking for in your Application log. You can get to your Application log (at least on a Windows Server 2003 system) by going to Start - Administrative Tools - Event Viewer, and then
selecting Application from the list on the left.
Once you're looking at the Application log, find the error message generated from the "MSI Installer" (It's probably the most recent error there if you just encountered the error.) and bring it up. In the "Description" text area, you should be able to see
where the installer or uninstaller was looking for the DLL file it needs.
This is important because it will tell you how to fix it.
The FIX:
The Fix for this is to give the uninstaller what it wants, and replace the deleted DLL files with ones that can be used by the install/uninstall process to edit the registry, etc. For convenience, I've uploaded a bin zip file that can be used for this purpose.
DOWNLOAD: => bin.zip (md5: b2594fa66d12a9e8fafb0a1ba3ca555f)
In my case above, you can see where I installed the JRE to the desktop (and then probably deleted it to remove the clutter). Only later, when I tried to install a new version, did it become a problem. So, I downloaded the above zip file, extracted it to
my desktop, created a "jdk" directory and moved the "bin" folder inside it, then ran the uninstaller again. I got a few more errors about other files that couldn't be found, but the uninstaller worked and I was able to install an updated version like I wanted
to afterwards.
So... the next time you install the JRE or JDK, remember that you can't delete it by hand without problems!
Hope this helps!
-Jordan
case, I was using Windows Server 2003 64-bit, but this should apply to other Windows versions as well.
The error I was getting was as follows:
"Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor."
This error is caused when you delete the JRE directory without running the uninstallation program. The reason this causes a problem is due to the registry entries that the installer creates when the JRE is installed. There is a DLL that the installer uses
to make (and remove during an uninstall) the registry entries. Without this DLL, both the install and the uninstall will fail. This error may also prevent you from installing updated versions of the JRE to your system - which is a security risk.
You can find the path to the DLL that the installer (or uninstaller) is looking for in your Application log. You can get to your Application log (at least on a Windows Server 2003 system) by going to Start - Administrative Tools - Event Viewer, and then
selecting Application from the list on the left.
Once you're looking at the Application log, find the error message generated from the "MSI Installer" (It's probably the most recent error there if you just encountered the error.) and bring it up. In the "Description" text area, you should be able to see
where the installer or uninstaller was looking for the DLL file it needs.
This is important because it will tell you how to fix it.
The FIX:
The Fix for this is to give the uninstaller what it wants, and replace the deleted DLL files with ones that can be used by the install/uninstall process to edit the registry, etc. For convenience, I've uploaded a bin zip file that can be used for this purpose.
DOWNLOAD: => bin.zip (md5: b2594fa66d12a9e8fafb0a1ba3ca555f)
In my case above, you can see where I installed the JRE to the desktop (and then probably deleted it to remove the clutter). Only later, when I tried to install a new version, did it become a problem. So, I downloaded the above zip file, extracted it to
my desktop, created a "jdk" directory and moved the "bin" folder inside it, then ran the uninstaller again. I got a few more errors about other files that couldn't be found, but the uninstaller worked and I was able to install an updated version like I wanted
to afterwards.
So... the next time you install the JRE or JDK, remember that you can't delete it by hand without problems!
Hope this helps!
-Jordan
相关文章推荐
- How to fix the dreaded "java.lang.OutOfMemoryError: PermGen space" exception (classloader leaks)
- 【问题记录】How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version
- How to fix “The program can’t start because MSVCR110.dll is missing from your computer.” error on Windows
- How to fix the dreaded "java.lang.OutOfMemoryError: PermGen space" exception (classloader leaks)
- How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0
- How to fix the dreaded "java.lang.OutOfMemoryError- PermGen space" exception (classloader leaks)
- How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version
- How To Fix ‘Update Failed (Error 7)’ Issue on Chrome Windows
- 解决How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version
- How to Completely Fix Windows Live Error
- How to fix compatibility mode error that can appear when installing Windows Phone Developer Tools or Visual Studio 2010
- How to fix the “msvcrt-ruby18.dll is missing from your computer” error message in Ruby on Rails
- how to fix the cwm/miui recovery status 2 error
- How to fix libtool: Version mismatch error
- How to Fix “ERROR : Could not find tsearch2.sql file” While Starting the PostgreSQL Database
- How to Completely Fix ieframe.dll Error
- How to Fix “firewall-cmd: command not found” Error in ubuntu
- How to Completely Fix spoolsv.exe Error
- How to Fix Installer Error 1721
- How To Fix “Problem with MergeList /var/lib/apt/lists” Error In Ubuntu 11.04