Wednesday, April 20, 2005

install run-time java support for firefox

get firefox first
# apt-get install mozilla-firefox


download java runtime lib
http://java.com/en/download/manual.jsp

also instruction on how to install
http://java.com/en/download/help/5000010500.xml#selfextracting

acturally just need to do the following
root@box:/usr/lib/mozilla-firefox/plugins# ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so

Sunday, April 03, 2005

string config

config/mytactic.cfg
MYFILE = "mydir/myfile.txt";

soccer/*.cc
CR_DECLARE(MYFILE);
CR_SETUP(mytactic, MYFILE, CR_STRING);

FILE *f = fopen(SVAR(MYFILE), "rt");