I compiled it fine with JRE6, no errors. This is the output I get:
@EliteGM
This is a valid operation, I haven't looked at the code if it's what he wants, but it basically assigns startsum to 1000 and then slutsum to startsum (I think Java is right-assignment with the "=" operator, correct me...