![]() |
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 open .\gui\compile.bat: Code: REM NOTE: If you are using a local core project, replace lib/core.jar Make sure that in both files the JAVA_HOME folder contains a file called javac.exe! alright now do this: Code: cd..\core 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. |
Nevermind there it goes. It just didn't want the \bin on the end of hte path. Thanks!!!! |
you're welcome! mahalo |
Re: ok... Does anyone know why the guest login won't work for CVS anymore? |
By the way, you can use the command line instructions with winCVS. Just go to admin, command line. There, you can enter in command line stuff, you can just copy and paste the stuff from the website. |
ok, i've done exactly what was said in the previous posts and all i get back is this: CVSROOT: :pserver: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? |
ok, n/m, "cvs -d :pserver:guest@cvs.limewire.org:/cvs checkout limewire" worked fine |
All times are GMT -7. The time now is 02:52 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.