Q: I got the error message that the command 'java' (or 'jre') cannot be found.
A: Check that you have the Java Runtime Environment installed on your system and the interpreter
is in your path. If JRE is not installed you have to download it
and install it on your computer.
Q: I got the error 'Class not found: org.dict.server.JDictd'
A: Verify that jdictd.jar is in your classpath.
Q: When starting the server I got the error message:
Cannot init: java.net.BindException: Address in use: bind Cannot init: java.net.BindException: Address in use: bindA: Check if the JDictd server or another DICT server currently running. If so, stop them. (Normally you can use Ctrl-C to stop a process you have started). If the ports 2628 and 2626 are occupied by other programs that you cannot stop or do not want to stop, you can choose other ports for the server. For example, you can start the HTTP server of JDictd at port 8080 as follows:
java -Dhttp_port=8080 -cp jdictd.jar org.dict.server.JDictd data/dict.iniThen you can access the server with your browser at address http://localhost:8080
Q: I got an error messsage that the databases cannot be initialized.
A: Start the JDictd server in debug mode as follows:
java -Ddebug=true -DBUFFER=10 -cp jdictd.jar org.dict.server.JDictd data/dict.iniIn normal case you should see the following output:
Tue Feb 26 11:47:24 CET 2002 Create dictionary engine using configuration data\dict.ini Creating database with data file E:\duc\www\JDictd\data\elements.dict.dz Comparator used for keys: org.dict.kernel.KeyComparator@240324 Morphological functions used: null Database created: Elements database 20001107 Database engine created! Tue Feb 26 11:47:25 CET 2002: JDictd started at 2628 Tue Feb 26 11:47:25 CET 2002: HTTP server started at 2626Otherwise some error message is dumped to the screen. You may be able to find the error from that, otherwise send it to the author.
Q: The server cannot find some words in the database. (I can access all indexed words
by pos=NNN
but not by word=XXX
.)
A: Your database index may not be sorted correctly. Please sort it with:
java org.dict.server.DatabaseFactory indexFile
where indexFile
is the name of the database index (the name you put in
your configuration file).