Re: [discuss] Comping limewire

Víctor Manuel Laderas Arroyo <[email protected]> Fri, 10 Dec 2004 12:31:17 +0100
Newsgroups gmane.network.gnutella.limewire.general
Message-ID <[email protected]>
Hi Sam,

Ok, limewire-424 source code  is compiled and running now.

Thanks, thank you very much.

V.

Sam Berlin wrote:

> Where are you typing 'java' in the respective launches?  If you're  
> trying to launch core, you must when it while in the core directory.   
> If you're trying to launch GUI, you must run it while in the GUI  
> directory.  Note that the classpath for the core is very out of 
> date.   We don't run the standalone core too often, so that script 
> tends to be  old.
>
> The problem with the GUI, if you did run it while in the GUI 
> directory,  seems to be related to the themes.jar.  It looks like 
> LimeWire isn't  able to find a resource within the themes.jar, or 
> isn't able to find  the themes.jar at all.  It very much seems like a 
> problem with your  classpath.
>
> I recommend using the scripts that are already in gui in order to 
> start  LimeWire.
>
> Thanks,
>  Sam
>
> On Dec 3, 2004, at 11:42 AM, Víctor Manuel Laderas Arroyo wrote:
>
>> Ok, thanks Sam. The 'core' and the 'gui' were well compiled with the  
>> 'ant' command.
>>
>> Now:
>> 1) to run core test shell:
>> ------------------------------
>>
>>     
>> >CLASSPATH=".;../lib/jars/collections.jar;../lib/jars/xerces.jar;../ 
>> lib/jars/MRJToolkitStubs.jar;../lib/jars/logicrypto.jar"
>>    >export CLASSPATH
>>
>> <Note: The "collections.jar" file does not exists in the "lib/jars"  
>> directory>
>>
>>    >PATH=$PATH:../core/bin
>>    >export PATH
>>
>>    >java com.limegroup.gnutella.Main
>>
>> And I get:
>>
>> ##################################
>>    Exception in thread "main" java.lang.NoClassDefFoundError:  
>> com/limegroup/gnutella/Main ##################################
>>
>> 2) To run LimeWire GUI:
>> ---------------------------------
>>                               
>> >CLASSPATH=".:../core:../lib/messagebundles/:../lib/jars/ 
>> collections.jar:../lib/jars/xerces.jar:../lib/jars/jl011.jar:../lib/ 
>> jars/themes.j
>> ar:../lib/jars/logicrypto.jar:../lib/jars/mp3sp14.jar:../lib/jars/ 
>> commons-httpclient.jar:../lib/jars/commons-logging.jar:../lib/jars/ i18n
>> .jar:../lib/jars/icu4j.jar:../lib/jars/ProgressTabs.jar:../lib/jars/ 
>> id3v2.jar:../lib/jars/log4j.jar:../lib/jars/jcraft.jar:../lib/jars/lo
>> oks.jar:../lib/jars/jmdns.jar:../lib/jars/daap.jar:../lib/jars/ 
>> tritonus.jar:../lib/jars/vorbis.jar
>> >export CLASSPATH
>>
>> >PATH=$PATH:../lib/native
>> >export PATH
>>
>> >java  -Djava.library.path=../lib/native  
>> com.limegroup.gnutella.gui.Main
>>
>> And I get:
>>
>> ##################################
>> Fatal Error - Review
>>
>> LimeWire version @version@
>> Java version 1.4.2_03 from Sun Microsystems Inc.
>> Linux v. 2.6.5-7.111-smp on i386
>> Free/total memory: 1392016/2879488
>>
>> FATAL ERROR!
>>
>> java.lang.ExceptionInInitializerError
>>    at com.limegroup.gnutella.gui.GUIUtils.setOpaque(GUIUtils.java:309)
>>    at  
>> com.limegroup.gnutella.gui.StatusComponent.<init>(StatusComponent.java: 
>> 67)
>>    at  
>> com.limegroup.gnutella.gui.SplashWindow.<clinit>(SplashWindow.java:27)
>>    at  
>> com.limegroup.gnutella.gui.GUIMediator.setSplashScreenString(GUIMediato 
>> r.java:1907)
>>    at  
>> com.limegroup.gnutella.gui.ResourceManager.<init>(ResourceManager.java: 
>> 371)
>>    at  
>> com.limegroup.gnutella.gui.ResourceManager.instance(ResourceManager.jav 
>> a:361)
>>    at  
>> com.limegroup.gnutella.gui.Initializer.initialize(Initializer.java: 161)
>>    at com.limegroup.gnutella.gui.Main.main(Main.java:50)
>> Caused by: java.lang.NullPointerException
>>    at  
>> com.limegroup.gnutella.settings.ThemeSettings.<clinit>(ThemeSettings.ja 
>> va:126)
>>    ... 8 more
>>
>>
>> Underlying Error:
>> java.lang.NullPointerException
>>    at  
>> com.limegroup.gnutella.settings.ThemeSettings.<clinit>(ThemeSettings.ja 
>> va:126)
>>    at com.limegroup.gnutella.gui.GUIUtils.setOpaque(GUIUtils.java:309)
>>    at  
>> com.limegroup.gnutella.gui.StatusComponent.<init>(StatusComponent.java: 
>> 67)
>>    at  
>> com.limegroup.gnutella.gui.SplashWindow.<clinit>(SplashWindow.java:27)
>>    at  
>> com.limegroup.gnutella.gui.GUIMediator.setSplashScreenString(GUIMediato 
>> r.java:1907)
>>    at  
>> com.limegroup.gnutella.gui.ResourceManager.<init>(ResourceManager.java: 
>> 371)
>>    at  
>> com.limegroup.gnutella.gui.ResourceManager.instance(ResourceManager.jav 
>> a:361)
>>    at  
>> com.limegroup.gnutella.gui.Initializer.initialize(Initializer.java: 161)
>>    at com.limegroup.gnutella.gui.Main.main(Main.java:50)
>>
>>
>> -- listing session information --
>> Current thread: main
>> Active Threads: 5
>>
>> -- listing threads --
>> AWT-Motif: 1
>> main: 1
>> AWT-EventQueue-0: 1
>> AWT-Shutdown: 1
>> TimerQueue: 1
>>
>>
>> -- listing properties --
>> LAST_EXPIRE_TIME=1102091884581
>> ##################################
>>
>>
>> Sam, could you help me?. Thanks.
>>
>> Victor.
>>
>>
>>
>>
>> Sam Berlin wrote:
>>
>>> The zip file is updated now, and is also a snapshot of 4.2.4 (the  
>>> latest release).  Let us know how it goes.
>>>
>>> Thanks,
>>>  Sam
>>>
>>> On Dec 2, 2004, at 12:07 PM, Sam Berlin wrote:
>>>
>>>> Hmmm -- looks like there were a few problems creating that zip 
>>>> file.   We'll correct it and make a new one.  Sorry for the trouble!
>>>>
>>>> Thanks,
>>>>  Sam
>>>>
>>>> On Dec 2, 2004, at 12:02 PM, Víctor Manuel Laderas Arroyo wrote:
>>>>
>>>>> But, in the 'core' directory does not exist the 'build.xml' file.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Victor.
>>>>>
>>>>> Sam Berlin wrote:
>>>>>
>>>>>> The core module is compiled by typing "ant" while in the core  
>>>>>> directory.
>>>>>>
>>>>>> Thanks,
>>>>>>  Sam
>>>>>>
>>>>>> On Dec 2, 2004, at 11:23 AM, Víctor Manuel Laderas Arroyo wrote:
>>>>>>
>>>>>>> Ok Sam,
>>>>>>>
>>>>>>> but, how do I compile the 'core' module?
>>>>>>>
>>>>>>> V.
>>>>>>>
>>>>>>> Sam Berlin wrote:
>>>>>>>
>>>>>>>> Victor,
>>>>>>>>
>>>>>>>> You must compile the 'core' module prior to compiling the 
>>>>>>>> 'gui'  one.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>  Sam
>>>>>>>>
>>>>>>>> On Dec 2, 2004, at 6:02 AM, Víctor Manuel Laderas Arroyo wrote:
>>>>>>>>
>>>>>>>>> I'm trying to install Limewire source code. For this I:
>>>>>>>>>
>>>>>>>>> 1) download source from  
>>>>>>>>> http://www.limewire.org/limewire-4.2.2.zip and  uncompress 
>>>>>>>>> this  in $HOME/Limewire.
>>>>>>>>>
>>>>>>>>> 2) install "ant" and "Java"
>>>>>>>>>
>>>>>>>>> 3) and I type:
>>>>>>>>>
>>>>>>>>> $cd $HOME/Limewire/gui
>>>>>>>>> $ant
>>>>>>>>>
>>>>>>>>> 4) getting:
>>>>>>>>>
>>>>>>>>> Buildfile: build.xml
>>>>>>>>>
>>>>>>>>> init:
>>>>>>>>>
>>>>>>>>> checkjars:
>>>>>>>>>
>>>>>>>>> clientonly:
>>>>>>>>>    [javac] Compiling 525 source files to   
>>>>>>>>> /Users/victor/Desktop/Limewire/gui
>>>>>>>>>    [javac]   
>>>>>>>>> /Users/victor/Desktop/Limewire/gui/com/limegroup/gnutella/bugs/  
>>>>>>>>> BugManager.java:38: package com.limegroup.gnutella.settings  
>>>>>>>>> does not  exist
>>>>>>>>>    [javac] import com.limegroup.gnutella.settings.BugSettings;
>>>>>>>>>    [javac]                                        ^
>>>>>>>>>    [javac]   
>>>>>>>>> /Users/victor/Desktop/Limewire/gui/com/limegroup/gnutella/bugs/  
>>>>>>>>> BugManager.java:39: package com.limegroup.gnutella.util does  
>>>>>>>>> not exist
>>>>>>>>>    [javac] import com.limegroup.gnutella.util.CommonUtils;
>>>>>>>>>    [javac]                                    ^
>>>>>>>>>    [javac]   
>>>>>>>>> /Users/victor/Desktop/Limewire/gui/com/limegroup/gnutella/bugs/  
>>>>>>>>> BugManager.java:40: package com.limegroup.gnutella.util does  
>>>>>>>>> not exist
>>>>>>>>>    [javac] import com.limegroup.gnutella.util.FileUtils;
>>>>>>>>>    [javac]                                    ^
>>>>>>>>>    [javac]   
>>>>>>>>> /Users/victor/Desktop/Limewire/gui/com/limegroup/gnutella/bugs/  
>>>>>>>>> BugManager.java:41: package com.limegroup.gnutella.util does  
>>>>>>>>> not exist
>>>>>>>>>    [javac] import com.limegroup.gnutella.util.IOUtils;
>>>>>>>>>    [javac]                                    ^
>>>>>>>>>    [javac]   
>>>>>>>>> /Users/victor/Desktop/Limewire/gui/com/limegroup/gnutella/bugs/  
>>>>>>>>> BugManager.java:42: package com.limegroup.gnutella.util does  
>>>>>>>>> not exist
>>>>>>>>>    [javac] import com.limegroup.gnutella.util.ProcessingQueue;
>>>>>>>>>    [javac]                                    ^
>>>>>>>>>    [javac]   
>>>>>>>>> /Users/victor/Desktop/Limewire/gui/com/limegroup/gnutella/bugs/  
>>>>>>>>> BugManager.java:128: cannot resolve symbol
>>>>>>>>>    [javac] symbol  : class ProcessingQueue
>>>>>>>>>    [javac] location: class  
>>>>>>>>> com.limegroup.gnutella.bugs.BugManager
>>>>>>>>>    [javac]     private final ProcessingQueue BUGS_QUEUE =
>>>>>>>>>    [javac]                   ^
>>>>>>>>>    [javac]   
>>>>>>>>> /Users/victor/Desktop/Limewire/gui/com/limegroup/gnutella/bugs/  
>>>>>>>>> LocalClientInfo.java:15: cannot resolve symbol
>>>>>>>>>    [javac] symbol  : class RouterService
>>>>>>>>>    [javac] location: package gnutella
>>>>>>>>> ..............
>>>>>>>>> ..............
>>>>>>>>> ..............
>>>>>>>>>
>>>>>>>>>    [javac] The system is out of resources.
>>>>>>>>>    [javac] Consult the following stack trace for details.
>>>>>>>>>    [javac] java.lang.OutOfMemoryError
>>>>>>>>>
>>>>>>>>> BUILD FAILED
>>>>>>>>> /Users/victor/Desktop/Limewire/gui/build.xml:47: Compile  
>>>>>>>>> failed; see  the compiler error output for details.
>>>>>>>>>
>>>>>>>>> Total time: 34 seconds
>>>>>>>>>
>>>>>>>>> ##################################
>>>>>>>>>
>>>>>>>>> This procedure is in $HOME/Limewire/gui/README,txt file
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> please help, thanks.
>>>>>>>>>
>>>>>>>>> Victor.
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> discuss mailing list
>>>>>>>>> [email protected]
>>>>>>>>> http://www.limewire.org/mailman/listinfo/discuss
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> discuss mailing list
>>>> [email protected]
>>>> http://www.limewire.org/mailman/listinfo/discuss
>>>>
>>>
>>>
>>>
>>
>
>
>


_______________________________________________
discuss mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/discuss