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

roboearth installation sucessful but cant run re_comm

asked 2012-04-06 01:32:13 -0500

narenayak gravatar image

Hi I was able to install/make it successful and run all its nodes except re_comm i get the following error
usr1@CrevaviWS2:~$ rosrun re_comm run find: `/jre/lib/': No such file or directory Cannot find libjsig ... maybe you need to set JAVA_HOME?

Plz help

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
7

answered 2012-04-09 17:53:06 -0500

Scott gravatar image

updated 2012-04-09 17:54:47 -0500

I had the exact same issue. I did the following to get it to work.

sudo add-apt-repository ppa:ferramroberto/java

sudo apt-get update

sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

Hit TAB to get to Ok prompt. Ok to next screen as well.

When done, type java -version to see that it is installed You should be able to cd to the following path /usr/lib/jvm/default-java/jre/lib

If that path exists then do the following. cd to /etc sudo vi bash.bashrc

go to the end of the follow, add the following, save and exit

JAVA_HOME=/usr/lib/jvm/default-java export JAVA_HOME PATH=$PATH:$JAVA_HOME/bin export PATH

once you exit, confirm new JAVA_HOME is set by typing echo $JAVA_HOME If the path shows up, you are done.

In a new terminal run rosrun re_comm run

edit flag offensive delete link more

Comments

@Scott
the first command sudo add-apt-repository ppa:ferramroberto/java

Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 88, in <module> ppa_info = get_ppa_info_from_lp(user, ppa_name) File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line

salma gravatar image salma  ( 2012-11-13 02:32:22 -0500 )edit

Question Tools

Stats

Asked: 2012-04-06 01:32:13 -0500

Seen: 471 times

Last updated: Apr 09 '12