Trouble-shooting

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

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: bind
A: 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.ini
Then 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 -cp jdictd.jar org.dict.server.JDictd data/dict.ini
In 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 2626
Otherwise some error message is dumped to the screen. You may be able to find the error from that, otherwise send it to the author.