Updating java version

I tried sudo yum update but it just keeps java "1.7.0_75".I need 1.8 for it to work with another application but can't figure out how to upgrade it. There's not much information on this on the internet as far as I can see.Java Script causes the content in an HTML document to behave dynamically like a program.It provides interactivity in web pages for actions like games, button responses, animation and more.

At that time, Oracle became the self-described “steward of Java technology.” Many applications and web sites use Java.Upgrading to the latest Java version improves the security of your system, as older versions do not include the latest security updates.Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few.Project after being updated change JRE version to 1.5.Simple updating Eclipse to latest version solve this problem. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker.