View Single Post
  #4 (permalink)  
Old September 16th, 2005
verdyp's Avatar
verdyp verdyp is offline
LimeWire is International
 
Join Date: January 13th, 2002
Location: Nantes, FR; Rennes, FR
Posts: 306
verdyp is flying high
Default

I've no problem running Limewire with the JDK version of Java.
In fact LimeWire is developed with the JDK, and of course is tested with it, even before it is tested with a JRE-only installation of Java.

Those problems are most often caused by inconsistent installation of the JDK itself, when it has been made the default Java VM in the Java control panel: this does not work because the directory that contains the JDK binaries and libraries does not contain all the binaries and libraries needed by the normal JRE.

If you are using the JDK and want it to be the default JRE, you have to manually merge the content of the installed JRE within the JDK folder (and this requires some other tricks to work, too complex to explain in details here); this will only work if they are both the SAME version.

On the opposite, if you have installed the JDK, it will install a separate JRE and will make it the default one. If your JDK is an old version of Java, the JRE may later be upgraded by applications.

Limewire does not need the JDK to run, but it needs a complete working version of the JRE.

If you want the best of both, first install the JDK of your choice, then install the more recent JRE separately (but don't delete the old JRE needed by your old JDK).

Note that Eclipse (a wellknown open-sourced development platform for Java) comes with its own installer of the JDK: it will use it unless you have already installed the JDK. But Eclipse works perfectly with the latest version of the JDK 1.5 (additionally Eclipse 3.1 has support for the new Java 1.5 language features). So install all these tools in that order:

(1) JRE 1.5
(2) JDK 1.5 (it will install the JRE 1.5 if your current JRE is not 1.5 at least)
(3) Eclipse (it will install the JDK 1.4 if it was not installed before, so it will install JRE 1.4 with that JDK) or
(4) LimeWire (it will install the JRE 1.4 if JRE 1.4 or 1.5 is not there)

Each time you upgrade the JDK, it will also upgrade the JRE, and will make it the default, but it won't delete the old JRE.

If you need the JDK on your system, note that the JRE may also be upgraded separately: when you upgrade the JRE separately, don't uninstall the old JRE still needed by the JDK, until you have also upgraded the JDK.
__________________
LimeWire is international. Help translate LimeWire to your own language.
Visit: http://www.limewire.org/translate.shtml

Last edited by verdyp; September 16th, 2005 at 07:47 PM.
Reply With Quote