Hi, If you install Gecode via the MSI provided on our web page, then you get the option to install Gecode/J also. Thus, you do not need to install the gecodej-package. Note that we updated the MSI Tuesday last week since there was a small problem with the old installer.
The Jar-file for Gecode/J (which now is called GecodeJ.jar and not GecodeJava.jar) is installed in the extensions directory of Java, which means that you do not need to supply a classpath since the Jar-files in this directory are automatically loaded. As for VarMatrix<IntVar>, it is in org.gecode, so either importing org.gecode.* or org.gecode.VarMatrix should find it. If you still experience problems using the class, please tell us. Hope this helps, Mikael On 3/19/07, penche21 penche21 <[EMAIL PROTECTED]> wrote:
Hi, - I was using GecodeJ via ssh using a server that gecode has already been installed. Everything was fine until I used VarMatrix<IntVar>. Then I started to get "cannot find symbol symbol : class VarMatrix" error. I dont know which do we need extra imports to use VarMatrix? So I decided to install gecodeJ on my windows XP. - I have Jdk ready and cygwin. I installed gecodeJ.msi and downloaded gecodej1.0.1.zip. Under cygwin I export the path where it is installed; export LD_LIBRARY_PATH=/cygdrive/c/Program\ Files/Gecode/lib:$LD_LIBRARY_PATH . Then to javac with -cp options I cant see where should be the GecodeJava.jar file. It is not in gecodej1.0.1.zip neither in the installed Gecode folder. . Is there anything more I need to make gecodeJ run. . any comments on the error of VarMatrix. Cheers, penche _________________________________________________________________ Yagmura yakalanmamak için sadece semsiyenize degil, MSN hava durumuna güvenin! http://www.msn.com.tr/havadurumu/ _______________________________________________ Gecode users mailing list [EMAIL PROTECTED] https://www.gecode.org/mailman/listinfo/gecode-users
-- Mikael Zayenz Lagerkvist, http://www.ict.kth.se/~zayenz/ _______________________________________________ Gecode users mailing list [EMAIL PROTECTED] https://www.gecode.org/mailman/listinfo/gecode-users
