ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Problem at json_prolog

asked 2012-10-12 03:23:12 -0600

hi, i'm trying to run

rosrun json_prolog json_prolog comp_germandeli

i got that message

find: `/usr/lib/jvm/java-6-sun/jre/lib/': No such file or directory Cannot find libjsig ... maybe you need to set JAVA_HOME?

and i already have JAVA_HOME...what shall i do ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-07-08 13:36:04 -0600

joaoquintas gravatar image

updated 2013-07-08 13:38:17 -0600

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


5) save and 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)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-10-12 03:23:12 -0600

Seen: 304 times

Last updated: Jul 08 '13