I had exactly the same problem with my W850i. I tried master reset, but I was unable to solve the problem.

Finally I decided to flash the phone and it can run java applications and games again. I recommend you to flash your phone.