Hey dude. I strongly recommend Ruby for a newbie because it has a smaller learning curve and is easyer to understand.
Although, java is a much better langauge if you understand it well.
I think you should start with ruby and learn all the basics then move on to java because it will make it a bit easyer.
Unless you devote a lot of time to learning java then it will be harder than learning ruby.