|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
Open Discussion topics Discuss the time of day, whatever you want to. This is the hangout area. If you have LimeWire problems, post them here too. |
| LinkBack | Thread Tools | Display Modes |
| |||
Quote:
"C:\Temp\limewire\core>set JAVA_HOME=D:\Programs\JavaSoft\JRE\1.3.1_03 C:\Temp\limewire\core>set CLASSPATH=.;lib/collections.jar;lib/xerces.jar;lib/MRJ ToolkitStubs.jar C:\Temp\limewire\core> C:\Temp\limewire\core>ant Buildfile: build.xml init: core: [javac] Modern compiler is not available - using classic compiler [javac] Compiling 172 source files to C:\Temp\limewire\core BUILD FAILED C:\Temp\limewire\core\build.xml:57: Cannot use classic compiler, as it is not av ailable A common solution is to set the environment variable JAVA_HOME to your j dk directory. Total time: 2 seconds" I don't know what the deal is... I installed that jre and the jdk or whatever and set the JAVA_HOME to various different directories, that was the only one that got even that far, set to any other directory it would just ant bad command or filename |
| |||
ok here is what I did.... I used the Java SDK 1.4.0. You should be fine using the Java JDK 1.3.x. Open your .\core\compile.bat file. And edit it so it looks like this but with the correct paths for JAVA_HOME and ANT_HOME: Code: set CLASSPATH=.;lib/collections.jar;lib/xerces.jar;lib/MRJToolkitStubs.jar set JAVA_HOME=D:\Programme\JavaSDK1.4.0 set ANT_HOME=D:\ant-141 set PATH=%PATH%;%ANT_HOME%\bin ant open .\gui\compile.bat: Code: REM NOTE: If you are using a local core project, replace lib/core.jar REM with ../core set CLASSPATH=.;lib/collections.jar;..\core;lib/xerces.jar;lib/jl011.jar set JAVA_HOME=D:\Programme\JavaSDK1.4.0 set ANT_HOME=D:\ant-141 set PATH=%PATH%;%ANT_HOME%\bin ant Make sure that in both files the JAVA_HOME folder contains a file called javac.exe! alright now do this: Code: cd..\core compile Code: buildCoreJar now you're in \gui Code: compile that's it. you can run it by run the run.bat script or with this (set the path to javaw): D:\Programme\JavaSDK1.4.0\bin\javaw.exe -classpath lib/collections.jar;lib/xerces.jar;lib/jl011.jar;lib;lib/core.jar;RunLime.jar RunLime mahalo |
| |||
Now that I've done that I get that ant is a bad command or filename again It seems that ant requires JAVA_HOME to be the path to the jre but in order ot actually compile it has to be set to the JDK or sdk or whatever it is. Dman thing will not work. |
| |||
ok, i've done exactly what was said in the previous posts and all i get back is this: CVSROOT: server:guest@cvs.limewire.org:/cvs (local mounted directory) TCL is *not* available, shell is disabled cvs checkout -P limewire (in directory C:\Limewire) cvs [checkout aborted]: CVSROOT guest@cvs.limewire.org:/cvs must be an absolute pathname *****CVS exited normally with code 1***** can anyone tell me what i'm doing wrong? |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
compile from source / limewire.org down? | Nirvana | General Linux Support | 4 | November 26th, 2005 07:34 PM |
Registering limewire | afhsolutions | General Windows Support | 0 | June 21st, 2004 09:26 PM |
Limewire source code | jpk | General Gnutella Development Discussion | 5 | October 10th, 2003 11:03 PM |
Limewire source files | Duvel | Open Discussion topics | 1 | March 12th, 2003 06:30 AM |
LimeWire Goes Open-Source | Moak | Open Discussion topics | 0 | September 24th, 2001 05:17 AM |