# Revision history [back]

I was geeting a similar error while issuing the command $rosrun json_prolog json_prolog ias_semantic_map The result was: find: /jre/lib/': No such file or directory Cannot find libjsig ... maybe you need to set JAVA_HOME? Since I'm using the openjdk (default in Ubuntu 10.04) I did the following to get it to work. 1) type java -version to see that it is installed 2) check if have the following path /usr/lib/jvm/default-java/jre/lib 3) if the path exists then$sudo nano /etc/bash.bashrc 4) add at the end of the file JAVA_HOME=/usr/lib/jvm/default-java export JAVA_HOME PATH=$PATH:$JAVA_HOME/bin export PATH

4) save and exit 5) restart the terminal or open a new one and test the command (in my case $rosrun json_prolog json_prolog ias_semantic_map) I was geeting a similar error while issuing the command$rosrun json_prolog json_prolog ias_semantic_map

The result was: find: /jre/lib/': No such file or directory Cannot find libjsig ... maybe you need to set JAVA_HOME?

Since I'm using the openjdk (default in Ubuntu 10.04) I did the following to get it to work.

1) type java -version to see that it is installed installed

2) check if have the following path /usr/lib/jvm/default-java/jre/lib /usr/lib/jvm/default-java/jre/lib

3) if the path exists then $sudo nano /etc/bash.bashrc /etc/bash.bashrc 4) add at the end of the file JAVA_HOME=/usr/lib/jvm/default-java file JAVA_HOME=/usr/lib/jvm/default-java export JAVA_HOME PATH=$PATH:$JAVA_HOME/bin JAVA_HOME PATH=$PATH:$JAVA_HOME/bin export PATH 4) 5) save and exit 5) exit 6) restart the terminal or open a new one and test the command (in my case$rosrun json_prolog json_prolog ias_semantic_map)