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

ERROR: dependency [rosjava] cannot be found

asked 2016-03-10 22:07:58 -0600 gravatar image

updated 2016-03-11 01:16:11 -0600

gvdhoorn gravatar image


I fallowed this lecture that it make C++ file in eclipse.

So, he typed this command roscreate-pkg test roscpp.

But I try to make java project, so I use rosjava

I found the tutorial of rosjava and it mentioned that I should type this command roscreate-pkg test rosjava.

however, there is a error

ERROR: dependency [rosjava] cannot be found

How can I figure out it?

Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-11 02:37:57 -0600

mgruhler gravatar image

This means you haven't installed rosjava.

Install it with sudo apt-get install ros-<YOURDISTRO>-rosjava (replace <YOURDISTROY with indigo, jade, or whatever you are using).

Also, you should consider switching to catkin rather then using rosbuild...

edit flag offensive delete link more


Thank you for your answer.

however, I already installed it with this command sudo apt-get install ros-<yourdistro>-rosjava gravatar image  ( 2016-03-14 21:07:40 -0600 )edit

Question Tools

1 follower


Asked: 2016-03-10 22:07:58 -0600

Seen: 150 times

Last updated: Mar 11 '16