The following instructions are for source installation on ubuntu platform 1.
> sudo apt-get install ros-hydro-catkin ros-hydro-ros python-wstool
> mkdir -p ~/rosjava > wstool init -j4 ~/rosjava/src https://raw.github.com/rosjava/rosjava/hydro/rosjava.rosinstall > source /opt/ros/hydro/setup.bash > cd ~/rosjava # Make sure we've got all rosdeps and msg packages. > rosdep update > rosdep install --from-paths src -i -y > catkin_make
You can now proceed to adding your own source packages on top. Refer to the next tutorial - Creating Rosjava Packages.
You can now continue to compile your projects in one of two ways:
Entire Workspaces: on the command line with catkin_make.
Individual Projects/Targets: source devel/setup.bash and work with gradle.
Working directly with gradle is like using make under the hood of a catkin_make build for c++. Use the gradle wrapper scripts (gradlew) in each package.
In this installation, you will find the maven repository of all rosjava artifacts in ~/rosjava/devel/share/maven.
For other platforms, you'll need to use pip for the python packages and drop the other stack sources into your rosinstall. (1)