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

Error when loading knowrob: java does not exist

asked 2011-10-04 22:09:22 -0600

ahmed gravatar image

updated 2011-10-17 07:16:19 -0600

Wim gravatar image

Hello All, I have some errors when loading the knowrob like this message "ERROR: /opt/ros/diamondback/stacks/knowrob/semweb/prolog/ '$open_shared_object'/3: cannot open shared object file: No such file or directory ERROR: /opt/ros/diamondback/stacks/knowrob/semweb/prolog/ /opt/ros/diamondback/stacks/knowrob/3rdparty/jpl/prolog/ Initialization goal raised exception: *library `java' does not exist (Please add directory holding to $LD_LIBRARY_PATH) ERROR: /opt/ros/diamondback/stacks/knowrob/semweb/prolog/ jpl:jpl_set_default_jvm_opts/1: Undefined procedure: jpl:jni_set_default_jvm_opts/2 Warning: /opt/ros/diamondback/stacks/knowrob/semweb/prolog/ Goal (directive) failed: user:jpl_set_default_jvm_opts([-Xmx256M])"* Please if you can help me to solve these errors. Thanks Ahmed

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-10-06 20:11:37 -0600

moritz gravatar image


have you installed all system dependencies? (execute the apt-get command generated by 'rosdep satisfy knowrob'). It sounds like Java is not correctly installed on your system. After this, try a 'rosmake --pre-clean knowrob'

If that does not help, some information about your setup would help (Java JDK type and version, OS version, which command produces this error etc).

thanks, Moritz

edit flag offensive delete link more

Question Tools


Asked: 2011-10-04 22:09:22 -0600

Seen: 234 times

Last updated: Oct 17 '11