RSS RSS Subscribe

Sun Java Error: 25099 Unzipping Core Files Failed – Fix discovered

By , October 30, 2009 15:24
Hot:

If you’ve attempted to upgrade your Java from Sun and encountered this error, you probably were left scratching your head,  The link to Sun’s Help Resources have no effective solution at the time or writing this, it simply states:

The actual root cause of this issue is still under investigation…

Isn’t that helpful…I have discovered a solution hopefully it will work for you.

I am notorious for ensuring that I perform TWO operations anytime I upgrade Java on any PC.

  1. Always uninstall the existing version first, and
  2. Always download the “offline” version to ensure I have all the necessary files and do not need to use a ‘downloader’ during an install

This has ensured I do not end up looking at more than one install in add/remove programs or programs and features in newer versions of Windows, and can do the upgrade/install without a network connection should I do this later on another machine.

So, I decided this week to upgrade noticing one of my boxes was still running an older version of Java (bad, James…BAD) and Secunia PSI ‘failed’ to notice this obvious discrepancy (Really bad Secunia…you tell us how great this program is in keeping us current and you “fail”!!)

So I decided to see why this was occuring.  The link on the help resource page suggested deleting the java directory and I thought, hey! I just uninstalled this, why does this directory still exist.  Well lo and behold all the java stuff was “still there”.  I’m not exactly sure what the uninstaller does.  I’m going to go out on a limb and say ‘nothing’ other than removing the entry from the list of installed programs.  I really wish I could dump java completely…

So I tried to delete the directory and it complained (access denied) when it attempted to delete msvcrt.dll.  Hmm, another copy of this dll in java, but why is the access denied.  So I take steps to ‘take ownership’ and I still get the same error.  So the only thing that could be causing this now would be if java was still running.  Wait a minute…I uninstalled it, is java STILL RUNNING?!?!?  Yes it was.  I load up “Process Explorer” (I imagine Task Manager would have disclosed this also) and look at the list of running processes, and yep, jqs.exe is still running.  Sure enough it has a lock on the affected dll.  Why on earth is this “still running” after an uninstall?

So we kill jqs.exe, go back to delete the java directory in Program Files, and poof it’s gone.  Keep in mind since the machine rebooted we ran “no” java applications so it was strictly this ‘service’ that was:

  • Not stopped
  • Not uninstalled
  • Not removed from the registry
  • Still operating even though Java has been removed.

So, now I attempt the installer again, and guess what, it worked fine without further incident.

I’m stunned that Sun/Java developers are ‘still investigating’ this issue, but then why would they ever uninstall Java.

No wonder there are so many security issues with Java.

So, the solution is this:

  • Remove Java
  • Reboot
  • Verify the Java Quick Starter Service is not running
  • Delete the Java directory in c:\Program Files\, or wherever it installed
  • Then reinstall.

Hope this helps you out, feedback as welcome.


related post

FacebookTwitterRedditGoogle BookmarksGoogle ReaderYahoo MailSlashdotWordPressDiggIdenti.caYahoo BuzzStumbleUponMySpaceLinkedInDeliciousLiveJournalMSDNHotmailAsk.com MyStuffBlogger PostBookmark/FavoritesOrkutShare

Comments are closed

Theme by Themocracy