I haven't tried your methods, but I have tackled this problem just before receiving your replies. But I will try your methods later.
My solution is to export CLASSPATH in bashrc, then solved it. I think it is quite weird that I need to claim the CLASSPATH to install Classpath. After solving the configure problem, here come the make problem with 7 errors. But the error messages are flushed away by tens of thousands warnings. So, without solving these 7 errors, I make -i (ignore errors) instead. Finally I've got the classpath 0.96.1 installed. This does not happen in 0.90, but happens in the versions after that. Thank you. Guangqiang On Nov 26, 2007 6:43 AM, Andrew John Hughes <[EMAIL PROTECTED]> wrote: > > > On 26/11/2007, Mario Torre <[EMAIL PROTECTED]> wrote: > > > > > > Il giorno dom, 25/11/2007 alle 13.09 -0800, Li, Guangqiang ha scritto: > > > Hi, > > > > Hi! > > > > > It seems configure cannot find the java files in the vm/reference > > > directory. Can I add some parameter to the configure to make it able > > > to locate the files? I have tried to add vm/reference to the PATH, it > > > does not work. Can you figure out what the problem is? Thank you. > > > > What are the options passed to configure? > > > > You should first install classpath, then compile jamvm passing it the > > location where classpath is installed. > > > > For example, this is what I pass to jamvm configure, assuming > > $PATH_TO_CLASSPATH_INSTALL points to the root installation directory: > > > > ./configure --prefix=$PATH_TO_CLASSPATH_INSTALL > > --with-classpath-install-dir=$PATH_TO_CLASSPATH_INSTALL --disable-zip > > > > Hope that helps, > > Mario > > -- > > Lima Software - http://www.limasoftware.net/ > > GNU Classpath Developer - http://www.classpath.org/ > > Fedora Ambassador - http://fedoraproject.org/wiki/MarioTorre > > Jabber: [EMAIL PROTECTED] > > pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF > > Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF > > > > Please, support open standards: > > http://opendocumentfellowship.org/petition/ > > http://www.nosoftwarepatents.com/ > > > > > JamVM uses a system installed Classpath, I think the option is > --with-classpath-install-dir IIRC. > > It sounds from the original e-mail like the problem is with Classpath's > configure script. If this is the case > then the use of JamVM is largely irrelevant as it should be possible to > install Classpath *if there is already > a Java development environment on the machine*. Unfortunately, there is a > cyclic problem where JamVM needs a > copy of Classpath to run, but this copy of Classpath needs a Java > environment to be built to start with. > > Guangqiang, can you include the config.log file from your Classpath > directory so we may better ascertain > the problem? Thanks. > -- > Andrew :-) > > Help end the Java Trap! > Contribute to GNU Classpath and the OpenJDK > http://www.gnu.org/software/classpath > http://openjdk.java.net

