Solved hello world in java

Signed-off-by: Ionut Radu <ihonius@gmail.com>