Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Windows Support (https://www.gnutellaforums.com/general-windows-support/)
-   -   LimeWire not finding JRE (https://www.gnutellaforums.com/general-windows-support/29934-limewire-not-finding-jre.html)

dhudgin November 12th, 2004 12:05 AM

LimeWire not finding JRE
 
Hello,

First time poster here, so please forgive any 'noobish' behaviour...

Basically, LimeWire worked fine when I first installed, as it prompted me to install JRE 1.3.0 I believe, and I did that.

But as a software developper, I want to be running the latest version of Java (1.5.0), which LimeWire seems to be unable to find. I know my Java /bin directory is in my PATH, and I know my verison of Java is not 'curropted', as was suggested in another thread on the forums, as I run Java apps daily.

I also do weekly virus scans, just to cover another possible solution I saw in a previous thread.

Any suggestions would be more than appreciated, and please, do not be afraid to get technical.

-Darryl

trap_jaw4 November 12th, 2004 12:12 AM

older versions of the LimeWire.exe file did not recognize it. Get a new version of LimeWire.

sberlin November 12th, 2004 06:53 AM

LimeWire recognizes JRE's that are listed in the Registry. There must be an entry at HKLM -> SOFTWARE -> JavaSoft -> Java Runtime Environment -> "Current Version". The value of Current Version (for example '1.5') must point to an entry under 'Java Runtime Environment'. That entry must have an entry of 'JavaHome' and 'RuntimeLib' pointing to the appropriate JRE directories.

All normal JRE installations create these registry keys.

dhudgin November 12th, 2004 11:47 AM

Thank you both.

SBerlin I checked my registry values, and there was no entry for ANY JRE. I suppose I had assumed that there was a JRE installed with my SDK 1.5.0 installation? How were my other Java applications running without this environment?

Darryl

sberlin November 12th, 2004 12:23 PM

Other applications are probably run by blindly running 'java' and hoping it works. LimeWire doesn't. We have our own executable that creates the VM and starts LimeWire. This is necessary for various reasons, including making sure that various firewalls report LimeWire as wanting access (instead of 'java'). Our executable has to look in the registry to find where the JRE is installed & then load up the necessary dlls. I suppose we could extend the executable to look also for the JDK (if it doesn't find a JRE), or look for the one with the higher version... but for the vast majority of people, the JRE is what we want.


All times are GMT -7. The time now is 01:33 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.