fixed description
added echo code to java file