roscd rosjava_core/rosjava_tutorial_pubsub

The same simplification can be used below.