I originally had this problem using LW beta 394, and had a post in the beta section, and I just put a new reply on there, but since 4.0, I think this is the appropriate section for this topic to live in now.
Here's the error:
Window Title: LimeWire Launcher Error
Text: Sorry, LimeWire could not locate a suitable Java Runtime Environment. Please download and install one from
http://java.sun.com/getjava/download.html.
On my other post, located here:
http://www.gnutellaforums.com/showth...threadid=24974
I got the following advice from verdyp to solve the problem:
Limewire will use the default JRE configured in your Java control panel.
Be sure, once you have installed your new version of Java 1.5 Beta 1 that this is effectively the selected JRE. You may have several JREs on your host, and the default selected one is not working properly. So select the new one, and drop the previous JRE from its directory.
If this still does not work, make uninstall all the JREs you can find in your Control Panel-Add/Remove programs, then look onto your PC to remove the Program Files\Java\ folder you may have.
Note that there may be a JRE folder within your Limewire installation directory, if you used the international installer.
Then CTRL+ALT+DEL to display the list of running app: kill the jupdate.exe process (this is the Java autoupdate tool in your system tray).
Then go to the registry and delete the following keys:
HKEY_CURRENT_USER\Software\JavaSoft\Java Runtime Environment
(this drops your Java user settings).
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
(this kills all your configured JREs: this key contains one subkey for each installed JRE, each subkey containing the location of its installation folder)
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in
(this kills the integration of Java into your browser)
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update
(this kills the autoupdate settings and cached data)
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start
(this kills the Java Web Start installation)
Then reinstall Java. It will restore the previous keys to their default, and you'll be sure to use the appropriate version which will be the only one "supported" on your system.
Normally you don't need to reinstall Limewire because its launcher will detect and use the default JRE you have just reconfigured in a clean state.
You may want to have two versions of the JRE on your system: don't mix them into the same installation folder. Normally the Java installer proposes you a installation folder name that includes its version number. Keep that version number in the installation directory.
Never overwrite an existing JRE installation folder with another version. You may switch from one to the other using the Java Control Panel. If the last version just fits your needs, you can safely uninstall the previous version.
I looked in the registry, and didn't see exactly the folders verdyp said I would. After \JavaSoft, the names weren't the same as what was posted here. So I had already uninstalled Java 1.5.0, and decided to delete everything past \JavaSoft & do a clean install. Now I have "HKEY_CURRENT_USER\Software\JavaSoft\ Java2D\1.5.0\Drivers\.DISPLAY1 ATI Technologies Inc. RAGE 128 PRO AGP 4X TMDS\32 " Bold is what has been replaced since the install.
When I installed Java, and LW, for that matter, I install to a different partition. Programs are on my E drive, and the C drive partition only has Windows stuff on it. So all I do when I install something, is change the first character on the install path to e, and let the rest of the path remain default.
I don't understand why this happens. The last time I re-installed xp, I put the J2re 1.5.0 in before I installed LW, and everything was fine. The only difference was that I'd installed the LW 394 beta, rather than the 404 first.
Come to think about it now, I may have installed JRE 1.4.2 just after installing 1.5.0- but I think for some reason I thought LW was running on 1.5.0 rather than on 1.4.2. I remember being happy that I got LW to run on 1.5.0, but I don't remember what led me to believe it was. Now I wonder if LW had actually latched onto 1.4.2 afterall....
All this is making my brain a pretzel. Please someone help me make sense of this.
ThanQ