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

Revision history [back]

click to hide/show revision 1
initial version

Thanks for the answer. I tried both eclipse and ant. Ant gives a compile error

Compiling 1 source file to /home/eich/dev/rosjava_core/rosjava_tutorial_pubsub/target/classes
[javac] Listener.java:25: package cylinder_reasoner does not exist
[javac] import cylinder_reasoner.*;

Although I set up the path to my Test.jar in the manifest. I run make in the project folder and get a compile error.

When I try to run the project in Eclipse (which I would prefere) I get another error Usage: rosrun rosjava_bootstrap run.py org.foo.MyNode [args] __name:=<node name="">

How can I setup Eclipse to run the node? I tried to enter rosjava_tutorial_pubsub org.ros.tutorials.pubsub.Listener in the arguments list. Than I get another error

Loading node class: rosjava_tutorial_pubsub
Exception in thread "main" org.ros.exception.RosRuntimeException: Unable to locate node: rosjava_tutorial_pubsub
at org.ros.RosRun.main(RosRun.java:64)

Caused by: java.lang.ClassNotFoundException: rosjava_tutorial_pubsub

Thanks for the answer. I tried both eclipse and ant. Ant gives a compile error

Compiling 1 source file to /home/eich/dev/rosjava_core/rosjava_tutorial_pubsub/target/classes
[javac] Listener.java:25: package cylinder_reasoner does not exist
[javac] import cylinder_reasoner.*;

Although I set up the path to my Test.jar in the manifest. I run make in the project folder and get a compile error.

When I try to run the project in Eclipse (which I would prefere) I get another error Usage: rosrun rosjava_bootstrap run.py org.foo.MyNode [args] __name:=<node name="">

How can I setup Eclipse to run the node? I tried to enter rosjava_tutorial_pubsub org.ros.tutorials.pubsub.Listener in the arguments list. Than I get another error

Loading node class: rosjava_tutorial_pubsub
Exception in thread "main" org.ros.exception.RosRuntimeException: Unable to locate node: rosjava_tutorial_pubsub
at org.ros.RosRun.main(RosRun.java:64)
Caused by: java.lang.ClassNotFoundException: rosjava_tutorial_pubsub

Caused by: java.lang.ClassNotFoundException: rosjava_tutorial_pubsub