Ask Your Question

ERROR: dependency [rosjava] cannot be found

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

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

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

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 -0500 )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


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

Seen: 100 times

Last updated: Mar 11 '16