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

ERROR: dependency [rosjava] cannot be found

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

kmyang85@gmail.com gravatar image

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

gvdhoorn gravatar image

Hello.

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
0

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

Comments

Thank you for your answer.

however, I already installed it with this command sudo apt-get install ros-<yourdistro>-rosjava

kmyang85@gmail.com gravatar image kmyang85@gmail.com  ( 2016-03-14 21:07:40 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 150 times

Last updated: Mar 11 '16