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

Problem in KnowRob

asked 2012-10-27 07:10:50 -0500

updated 2012-10-29 11:57:23 -0500

hi, I have a problem with try to launch both mod_vis.launch and communication_vis.launch this is the error which I got, process[communication_vis-2]: started with pid [9871] find: `/jre/lib/': No such file or directory

Thanks in Advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-10-27 11:34:34 -0500

Lorenz gravatar image

Try setting JAVA_HOME.

edit flag offensive delete link more

Comments

My settings: echo 'JAVA_HOME=/usr/lib/jvm/default-java export JAVA_HOME PATH=$PATH:$JAVA_HOME/bin export PATH' >> ~/.bashrc

sam gravatar image sam  ( 2012-10-28 02:46:07 -0500 )edit

please can you explain why this error appears, however I install ros-fuerte-knowrob ?!

RiskTeam gravatar image RiskTeam  ( 2012-10-28 05:54:19 -0500 )edit

I don't know why. Set JAVA_HOME is part of my own ROS installation process. Maybe someone knows that...

sam gravatar image sam  ( 2012-10-28 05:58:02 -0500 )edit

I do not Know why java at all :(

RiskTeam gravatar image RiskTeam  ( 2012-10-28 06:06:52 -0500 )edit
2

The visualizations for KnowRob are written in Java, and some parts require JAVA_HOME to be set. For me, setting JAVA_HOME to /usr/lib/jvm/java-6-sun works (assuming you have Sun Java 6 installed)

moritz gravatar image moritz  ( 2012-10-28 13:52:53 -0500 )edit

OK thanka I will try this

RiskTeam gravatar image RiskTeam  ( 2012-10-28 20:54:52 -0500 )edit

sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts cd /usr/lib/jvm/default-java/jre/lib cd /etc sudo vi bash.bashrc Then I add this and save JAVA_HOME=/usr/lib/jvm/default-java export JAVA_HOME PATH=$PATH:$JAVA_HOM

RiskTeam gravatar image RiskTeam  ( 2012-10-29 11:16:14 -0500 )edit

I do this instructions but when I run mod_vis it does not give an error but stop working at % /opt/ros/fuerte/stacks/knowrob/mod_vis/prolog/init.pl compiled 0.00 sec, 24,464 bytes % /opt/ros/fuerte/stacks/knowrob/mod_vis/prolog/init.pl compiled 0.40 sec, 1,546,852 bytes so what ?!

RiskTeam gravatar image RiskTeam  ( 2012-10-29 11:18:38 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2012-10-27 07:10:50 -0500

Seen: 315 times

Last updated: Oct 29 '12