Ask Your Question
0

Problem in KnowRob

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

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

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 -0600

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 imagesam ( 2012-10-28 02:46:07 -0600 )edit

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

RiskTeam gravatar imageRiskTeam ( 2012-10-28 05:54:19 -0600 )edit

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

sam gravatar imagesam ( 2012-10-28 05:58:02 -0600 )edit

I do not Know why java at all :(

RiskTeam gravatar imageRiskTeam ( 2012-10-28 06:06:52 -0600 )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 imagemoritz ( 2012-10-28 13:52:53 -0600 )edit

OK thanka I will try this

RiskTeam gravatar imageRiskTeam ( 2012-10-28 20:54:52 -0600 )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 imageRiskTeam ( 2012-10-29 11:16:14 -0600 )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 imageRiskTeam ( 2012-10-29 11:18:38 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 229 times

Last updated: Oct 29 '12