Re: problems with JGAP under Linux
- From: Esmail <ebonak_delme@xxxxxxxxxxx>
- Date: Wed, 02 Apr 2008 10:45:13 -0400
Mika Viljanen wrote:
Esmail <ebonak_delme@xxxxxxxxxxx> wrote:<..>I unzipped the files into a directory and when I issue this command I get the following error:
europa:543 ~/JGAP> java -classpath ".;jgap-examples.jar;jgap.jar" examples.MinimizingMakeChange 89
Exception in thread "main" java.lang.NoClassDefFoundError: examples/MinimizingMakeChange
I'm just guessing here but this might be due to the format of the given classpath parameter. At least under Fedora (using Sun's Java SDK), I'd write the command as:
java -cp .:jgap-examples.jar:jgap.jar examples.MinimizingMakeChange 89
I think Java is now interpreting your classpath .jar list as a single file.
thanks for the reply! .. the problem was with using ";" as a path separator.
Linux likes ":" .. so once I made that change, it worked. Apparently ";" is
fine under Windows.
The example command shown for Linux on
http://jgap.sourceforge.net/doc/install.html shows ";" .. I'll try to drop the
author an e-mail letting him now about using ":" instead.
Thanks again!
.
- References:
- problems with JGAP under Linux
- From: Esmail
- Re: problems with JGAP under Linux
- From: Mika Viljanen
- problems with JGAP under Linux
- Prev by Date: Re: problems with JGAP under Linux
- Next by Date: Third CEU Summerschool on Advanced Statistics and Data Mining (June 30th-July 11th, 2008)
- Previous by thread: Re: problems with JGAP under Linux
- Next by thread: Third CEU Summerschool on Advanced Statistics and Data Mining (June 30th-July 11th, 2008)
- Index(es):