I tried to play the newest release of Minecraft as I want to use new blocks to revamp old builds but I saw a message that stated that an old version of Java was detected. I was confused as I had just updated Java yesterday or the day before so I did some checking around and confirmed that I had the newest possible version of Java that I could. Is there something that I'm missing? Should I try again or is this a glitch? Thanks in advance!
What are your JVM arguments? If you changed the Java runtime used to one on your computer (as opposed to the built-in one if you are using the native launcher, which is rather outdated but should not cause this error; Mojang presumably has not updated it for stability and consistency reasons and any version of Java 8 should work) and did not uninstall older versions of Java (the Java updater should prompt you to do so) it will keep using it. If you do have a custom Java runtime specified you can try unchecking the box and see if it works (it defaults to the native runtime).
Also, what you you get if you type "java -version" (without quotes) into a command prompt (if you have Java installed on your system, not just the native runtime)?
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) Client VM (build 25.131-b11, mixed mode)