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

Errors compiling Rosjava code

asked 2014-02-20 11:37:24 -0500

musik gravatar image

updated 2014-04-20 14:09:19 -0500

ngrennan gravatar image

I am having a compiler issue while running rosjava. I am attempting to compile a piece of java code using javac along with adding org.apache.commons.logging third party Java library to my classpath, but I am receiving the following messages:

"package org.ros.namespace does not exist" "package org.ros.node does not exist" "package org.ros.node.topic does not exist"

Would you know by any chance what could be causing this issue or if I am even compiling the java code correctly? The code is in the "robot" subdirectory within my "rosjava" directory in a third subdirectory called "src". I am currently running on the Hydro distribution of Java.

edit retag flag offensive close merge delete

Comments

What instructions are you following to build?

Daniel Stonier gravatar image Daniel Stonier  ( 2014-02-20 12:30:36 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-02-20 14:23:41 -0500

Daniel Stonier gravatar image

Looks like your internal documentation was for fuerte. Consequently the rosjava wiki page instructions will be out of sync with your internal wiki instructions (ros went through big build system changes from fuerte -> hydro). RosJava also moved from google code to github.

edit flag offensive delete link more

Comments

OK. Are there updated instructions on how to compile and run this sort of code, or would I have to revert back to fuerte on my machine? I have a fuerte distribution from a previous download.

musik gravatar image musik  ( 2014-02-20 14:40:04 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-02-20 11:37:24 -0500

Seen: 323 times

Last updated: Feb 20 '14