ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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)
2 | No.2 Revision |
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
JAVA_HOME=/usr/lib/jvm/default-java
exportPATH=$PATH:$JAVA_HOME/bin
export PATH4) 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)