Forum OpenACS Q&A: Response to Is someone interested in the ACS 4.x Java Chat Module for openacs 3.2.x?
I just finished installing it, and it's working great. Yeah!!
I had the same issue as David, along with one minor twist. For some reason I had to specify the full path to java for it to start the chat server (from the
chat_start_server proc in the jchat-procs.tcl file):
exec /usr/java/jdk1.3.1_02/bin/java -classpath /web/[my server]/www/chat/java adChatServer start $port &
Otherwise, I would get the following error in the log:
Error: couldn't execute "java": no such file or directory couldn't execute "java": no such file or directory while executing "exec java -classpath /web/dev-ktyf/www/chat/java adChatServer start $port &" (procedure "chat_start_server" line 14)
I verified my nsadmin (and root) environment variables, and I was even able to run it from the command line, so I don't know why it couldn't find it. But once I added the path it worked fine.
David, you can safely ignore the warning from the java compiler. It's just telling you that you're using a method that is deprecated, but it is still supported (just that it might not be supported in future releases). Or you can try replacing it with the new method suggested by the compiler if you don't want to get that message.